Skip to content

Commit 574a671

Browse files
committed
ci: add eslint check to CI workflow
1 parent 51913c3 commit 574a671

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: CI
22
on: [push]
33

44
jobs:
5-
test:
6-
name: Test
5+
sanity-checks:
6+
name: Sanity Checks
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
@@ -19,9 +19,10 @@ jobs:
1919
restore-keys: |
2020
${{ runner.os }}-node-
2121
- run: npm install
22+
- run: npm run lint
2223
- run: npm test -- --ci --coverage
2324
release:
24-
needs: test
25+
needs: sanity-checks
2526
runs-on: ubuntu-latest
2627
if: "github.ref == 'refs/heads/master' && !contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
2728
env:

0 commit comments

Comments
 (0)