Skip to content

Commit 1bc9237

Browse files
committed
update GitHub workflow to lint before testing so lint errors don't hang
1 parent 5ecdbb0 commit 1bc9237

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
matrix:
1515
node-version: [8, 10, 12]
1616

17+
name: Test / Node ${{ matrix.node-version }}
1718
steps:
1819
- uses: actions/checkout@v2
1920
with:
@@ -27,5 +28,8 @@ jobs:
2728
- name: npm install
2829
run: npm install
2930

31+
- name: Lint
32+
run: npx eslint src/
33+
3034
- name: Run tests
3135
run: npm run test_ci

0 commit comments

Comments
 (0)