Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run Tests with Coverage
name: Test Coverage

on:
pull_request:
Expand All @@ -13,14 +13,17 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- uses: actions/setup-node@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- run: npm ci
- name: Install dependencies
run: npm ci

- name: Run tests with coverage
run: npx vitest run --coverage
Expand All @@ -32,7 +35,7 @@ jobs:
json-summary-path: coverage/coverage-summary.json
json-final-path: coverage/coverage-final.json

- name: Upload coverage artifact
- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
with:
Expand Down