Skip to content

Commit

Permalink
ci(lint): pass configFile to commitlint action (#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored and SimenB committed Jan 7, 2020
1 parent 3f32225 commit 6f314e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Expand Up @@ -5,14 +5,18 @@ jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v1.2.2
with:
configFile: './package.json'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Danger
uses: danger/danger-js@9.1.8
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand All @@ -49,7 +49,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
Expand Down

0 comments on commit 6f314e1

Please sign in to comment.