Skip to content

Commit a15c039

Browse files
committed
fix: add coverage dependency + CI fix
1 parent 3e9594a commit a15c039

File tree

3 files changed

+307
-1
lines changed

3 files changed

+307
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ jobs:
2323
- run: npm test
2424
- name: Run tests with coverage
2525
if: matrix.node-version == '20' && matrix.os == 'ubuntu-latest'
26+
continue-on-error: true
2627
run: npx vitest run --coverage --reporter=json --outputFile=coverage.json
2728
- name: Upload coverage
2829
if: matrix.node-version == '20' && matrix.os == 'ubuntu-latest'
30+
continue-on-error: true
2931
uses: codecov/codecov-action@v4
3032
with:
31-
token: ${{ secrets.CODECOV_TOKEN }}
3233
fail_ci_if_error: false
3334

3435
publish-dry:

package-lock.json

Lines changed: 304 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
"@types/node": "^20.11.0",
143143
"@typescript-eslint/eslint-plugin": "^8.57.0",
144144
"@typescript-eslint/parser": "^8.57.0",
145+
"@vitest/coverage-v8": "^1.6.1",
145146
"eslint": "^8.57.1",
146147
"eslint-config-prettier": "^10.1.8",
147148
"prettier": "^3.8.1",

0 commit comments

Comments
 (0)