Skip to content

Commit 0847838

Browse files
committed
Use test:coverage in GitHub Actions
1 parent fe5da3c commit 0847838

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
cache: pnpm
2222

2323
- run: pnpm install --frozen-lockfile
24-
- run: pnpm test
24+
- run: pnpm run test:coverage
2525
- name: Upload coverage reports to Codecov
2626
uses: codecov/codecov-action@v5
2727
with:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "next build",
99
"start": "next start",
1010
"lint": "eslint .",
11-
"test": "vitest run --coverage",
11+
"test": "vitest run",
12+
"test:coverage": "vitest run --coverage",
1213
"test:watch": "vitest",
1314
"telemetry": "next telemetry disable"
1415
},

0 commit comments

Comments
 (0)