There was an error while loading. Please reload this page.
2 parents 9526df1 + 7b8a7ec commit a3bb8d3Copy full SHA for a3bb8d3
2 files changed
.github/workflows/coverage.yaml
@@ -26,7 +26,7 @@ jobs:
26
run: npm ci
27
28
- name: Run tests with coverage
29
- run: npx vitest run --coverage
+ run: npm run coverage
30
31
- name: Report coverage on PR
32
uses: davelosert/vitest-coverage-report-action@v2
package.json
@@ -6,6 +6,7 @@
6
"dev": "vite",
7
"build": "vite build",
8
"preview": "vite preview",
9
+ "coverage": "npx vitest run --coverage",
10
"test": "vitest --watch=false",
11
"deploy": "npm run add-version && npm run build && gh-pages -d dist",
12
"add-version": "echo \"VITE_COMMIT_HASH=$(git rev-parse --short HEAD)\" > .env",
0 commit comments