Skip to content

Commit b8842fe

Browse files
committed
merge actions
1 parent 51d005d commit b8842fe

File tree

3 files changed

+10
-45
lines changed

3 files changed

+10
-45
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,12 @@ jobs:
5757
path: .
5858
key: workspace-${{ github.sha }}
5959

60-
- name: Unit tests
60+
- name: Unit tests with coverage
6161
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Report Coverage
1+
name: Report Coverage
22

33
on:
44
workflow_run:
5-
workflows: [Upload Coverage]
5+
workflows: [CI]
66
types: [completed]
77

88
jobs:

.github/workflows/upload_coverage.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)