Commit be9259e
committed
feat(ci): add coverage badge generation
Add automatic coverage badge SVG generation using
jaywcjlove/coverage-badges-cli action.
Changes:
- Add json-summary reporter to vitest coverage config
- Generate badges.svg from coverage-summary.json in CI
- Badge will be available at GitHub Pages URL/badges.svg
This enables adding a coverage badge to README that automatically
updates when coverage changes.1 parent 0c7bf74 commit be9259e
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments