From 6e2468e7db5844164d8a48b77771de8be8fc8997 Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Fri, 29 Dec 2023 09:35:08 -0800 Subject: [PATCH] fix(ci): replace nyc -> c8 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa14e9b..e552a99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 }}