Skip to content

Commit

Permalink
fix(ci): replace nyc -> c8
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Dec 29, 2023
1 parent 308a238 commit 6e2468e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: (coverage) Install
if: matrix.nodejs >= 18
run: npm install -g nyc
run: npm install -g c8

- name: Build
run: npm run build
Expand All @@ -36,13 +36,13 @@ jobs:
if: matrix.nodejs < 18

- name: (coverage) Test
run: nyc --include=src npm test
run: c8 --include=src npm test
if: matrix.nodejs >= 18

- name: (coverage) Report
if: matrix.nodejs >= 18
run: |
nyc report --reporter=text-lcov > coverage.lcov
c8 report --reporter=text-lcov > coverage.lcov
bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 6e2468e

Please sign in to comment.