Skip to content

Commit a5977ba

Browse files
committed
no codecov
1 parent 0a5f875 commit a5977ba

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,3 @@ jobs:
1818
node-version: ${{ matrix.node-version }}
1919
- run: npm ci
2020
- run: npm test
21-
- name: Upload coverage to Codecov
22-
if: matrix.os == 'ubuntu-latest' && matrix.node-version == 'lts/*'
23-
uses: codecov/codecov-action@v5
24-
with:
25-
token: ${{ secrets.CODECOV_TOKEN }}
26-
files: ./coverage/lcov.info
27-
fail_ci_if_error: false

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"format:check": "oxfmt --check src",
3030
"pretests": "npm run build",
3131
"tests": "node --test src/__tests__/*.mjs",
32-
"precoverage": "npm run build && node -e \"require('fs').mkdirSync('coverage',{recursive:true})\"",
33-
"coverage": "node --enable-source-maps --test --experimental-test-coverage --test-coverage-exclude='**/__tests__/**' --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=coverage/lcov.info src/__tests__/*.mjs",
32+
"precoverage": "npm run build",
33+
"coverage": "node --enable-source-maps --test --experimental-test-coverage --test-coverage-exclude='**/__tests__/**' --test-coverage-lines=94 --test-coverage-branches=94 --test-coverage-functions=96 --test-reporter=spec src/__tests__/*.mjs",
3434
"test": "npm run lint && npm run typecheck && npm run coverage",
3535
"prepare": "npm run build",
3636
"release": "npx npmpub"

0 commit comments

Comments
 (0)