We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 894d71d commit 4c024e7Copy full SHA for 4c024e7
.github/workflows/ci.yml
@@ -25,6 +25,15 @@ jobs:
25
- name: Run linting
26
run: npm run lint
27
28
+ - name: Run tests with coverage
29
+ run: npm test
30
+
31
+ - name: Upload coverage report
32
+ uses: actions/upload-artifact@v3
33
+ with:
34
+ name: coverage-report
35
+ path: coverage
36
37
- name: Build
38
run: npm run build
39
package.json
@@ -13,7 +13,7 @@
13
"lint": "eslint --ext .ts,.tsx .",
14
"storybook": "storybook dev -p 6006",
15
"build-storybook": "storybook build",
16
- "test": "vitest",
+ "test": "vitest --coverage",
17
"postinstall": "patch-package"
18
},
19
"devDependencies": {
0 commit comments