diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3294f1..1934f0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,7 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm test + - run: npm run report-coverage - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: diff --git a/package.json b/package.json index 7f6df9f..e32e88b 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "standard": "standard \"**/*.js\" \"bin/**/*\"", "cover": "nyc --reporter=html --reporter=text mocha --timeout 5000 --recursive test", "coverage": "npm run cover", - "report-coverage": "nyc npm run unitTests && nyc report --reporter=text-lcov > coverage.lcov && \"./node_modules/.bin/codecov\"" + "report-coverage": "nyc npm run unitTests && nyc report --reporter=text-lcov > coverage.lcov" }, "bin": { "reload": "./bin/reload"