Use test:coverage in GitHub Actions

This commit is contained in:
shamoon
2026-02-02 22:55:33 -08:00
parent fe5da3cf30
commit 0847838b51
2 changed files with 3 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ jobs:
cache: pnpm cache: pnpm
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- run: pnpm test - run: pnpm run test:coverage
- name: Upload coverage reports to Codecov - name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5 uses: codecov/codecov-action@v5
with: with:

View File

@@ -8,7 +8,8 @@
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "eslint .", "lint": "eslint .",
"test": "vitest run --coverage", "test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest", "test:watch": "vitest",
"telemetry": "next telemetry disable" "telemetry": "next telemetry disable"
}, },