Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c3e6fcb

Browse files
committed
chore: fix coverage
1 parent 7f2062e commit c3e6fcb

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
version: latest
2525
- name: Run Biome
2626
run: biome ci .
27-
- run: pnpm test:coverage
28-
- run: pnpm test:report
27+
- name: Run tests
28+
run: pnpm cov
2929
- name: Coveralls
3030
uses: coverallsapp/github-action@master
3131
with:
3232
github-token: ${{ secrets.GITHUB_TOKEN }}
33-
path-to-lcov: ./coverage.lcov
33+
path-to-lcov: ./coverage/lcov.info

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
"scripts": {
2121
"build": "tsc -p tsconfig.build.json",
2222
"test": "tsx --test src/*.test.ts",
23-
"test:coverage": "c8 --include=src pnpm test",
24-
"test:report": "c8 report --reporter=text-lcov > coverage.lcov",
23+
"cov": "c8 -r lcov pnpm test",
2524
"lint": "biome lint .",
2625
"format": "biome format .",
2726
"check": "biome check ."

0 commit comments

Comments
 (0)