Skip to content

Commit 4973139

Browse files
committed
ci: don't collect coverage from eslint@5
1 parent bad88a0 commit 4973139

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,12 @@ 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
48-
if: always()
49+
if: ${{ matrix.eslint-version >= 6 }}
4950
test-os:
5051
name: Test on ${{ matrix.os }} using Node.js LTS
5152
strategy:

0 commit comments

Comments
 (0)