Skip to content

Commit cfcd37d

Browse files
committed
add coverage
1 parent 386703d commit cfcd37d

4 files changed

Lines changed: 275 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
with:
6767
name: coverage-report
6868
path: coverage/
69-
retention-days: 30
69+
retention-days: 7
7070

7171
# Deploy job - runs after tests pass
7272
deploy:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
26+
coverage

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@types/react": "^19.1.2",
3131
"@types/react-dom": "^19.1.2",
3232
"@vitejs/plugin-react": "^4.4.1",
33+
"@vitest/coverage-v8": "3.1.4",
3334
"@vitest/ui": "3.1.4",
3435
"eslint": "^9.25.0",
3536
"eslint-plugin-react-hooks": "^5.2.0",

0 commit comments

Comments
 (0)