Skip to content

Commit c5b2d68

Browse files
Update GitHub Actions workflow for test coverage (#12)
2 parents b5418e3 + 2e242a0 commit c5b2d68

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/coverage.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run Tests with Coverage
1+
name: Test Coverage
22

33
on:
44
pull_request:
@@ -13,14 +13,17 @@ jobs:
1313
pull-requests: write
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
1718

18-
- uses: actions/setup-node@v4
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
1921
with:
2022
node-version: 20
2123
cache: npm
2224

23-
- run: npm ci
25+
- name: Install dependencies
26+
run: npm ci
2427

2528
- name: Run tests with coverage
2629
run: npx vitest run --coverage
@@ -32,7 +35,7 @@ jobs:
3235
json-summary-path: coverage/coverage-summary.json
3336
json-final-path: coverage/coverage-final.json
3437

35-
- name: Upload coverage artifact
38+
- name: Upload coverage report
3639
if: always()
3740
uses: actions/upload-artifact@v4
3841
with:

0 commit comments

Comments
 (0)