Skip to content

Commit 6e2468e

Browse files
committedDec 29, 2023
fix(ci): replace nyc -> c8
1 parent 308a238 commit 6e2468e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

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

3131
- name: Build
3232
run: npm run build
@@ -36,13 +36,13 @@ jobs:
3636
if: matrix.nodejs < 18
3737

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.