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 51d005d commit b8842feCopy full SHA for b8842fe
.github/workflows/ci.yml
@@ -57,5 +57,12 @@ jobs:
57
path: .
58
key: workspace-${{ github.sha }}
59
60
- - name: Unit tests
+ - name: Unit tests with coverage
61
run: pnpm test:ci
62
+
63
+ - name: Upload coverage artifact
64
+ if: github.event_name == 'pull_request'
65
+ uses: actions/upload-artifact@v4
66
+ with:
67
+ name: vitest-coverage
68
+ path: vitest-coverage
.github/workflows/report_coverage.yml
@@ -1,8 +1,8 @@
1
-name: Report Coverage
+name: Report Coverage
2
3
on:
4
workflow_run:
5
- workflows: [Upload Coverage]
+ workflows: [CI]
6
types: [completed]
7
8
jobs:
.github/workflows/upload_coverage.yml
0 commit comments