Skip to content

Commit a90f025

Browse files
authored
ci: update test runner for vitest (#186)
1 parent 1614f35 commit a90f025

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ jobs:
1616
node-version: ${{ matrix.node-version }}
1717
cache: npm
1818
- run: npm ci
19+
- run: npm i -D @vitest/coverage-v8
1920
- run: npm run lint
20-
- run: npm test -- --coverage --coverageDirectory=coverage/results-${{ matrix.node-version }}
21+
- run: npm test -- --coverage
2122
- uses: actions/upload-artifact@v3
2223
with:
2324
name: vitest-results-${{ matrix.node-version }}
24-
path: coverage/results-${{ matrix.node-version }}/*.xml
25+
path: coverage/*
2526
if: ${{ always() }}
File renamed without changes.

0 commit comments

Comments
 (0)