Skip to content

Commit

Permalink
chore: fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Jul 12, 2024
1 parent 7f2062e commit c3e6fcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
version: latest
- name: Run Biome
run: biome ci .
- run: pnpm test:coverage
- run: pnpm test:report
- name: Run tests
run: pnpm cov
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage.lcov
path-to-lcov: ./coverage/lcov.info
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
"scripts": {
"build": "tsc -p tsconfig.build.json",
"test": "tsx --test src/*.test.ts",
"test:coverage": "c8 --include=src pnpm test",
"test:report": "c8 report --reporter=text-lcov > coverage.lcov",
"cov": "c8 -r lcov pnpm test",
"lint": "biome lint .",
"format": "biome format .",
"check": "biome check ."
Expand Down

0 comments on commit c3e6fcb

Please sign in to comment.