Skip to content

Commit 8532f5d

Browse files
committed
ci: don't collect coverage from eslint@5
1 parent 6d6e444 commit 8532f5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/nodejs.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- name: run typecheck
4242
run: yarn typecheck
4343
- name: run tests
44-
run: yarn test --coverage
44+
# only collect coverage on eslint versions that support the suggestions api
45+
run: yarn test --coverage ${{ matrix.eslint-version >= 6 }}
4546
env:
4647
CI: true
4748
- uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)