Fix code coverage

This commit is contained in:
Sindre Sorhus 2021-11-26 16:50:15 +07:00
parent 04fdbd6d8d
commit 7a6893551d
4 changed files with 24 additions and 8 deletions

View file

@ -10,6 +10,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 16
- 14
- 12
steps:
@ -19,3 +20,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
- uses: codecov/codecov-action@v2
if: matrix.node-version == 16
with:
fail_ci_if_error: true