Skip to content

Commit f8558e7

Browse files
committed
fix add pnpm run command
1 parent 17f6bf7 commit f8558e7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- run: make build
6060
- run: pnpm run test:coverage --environment ${{ matrix.test-environment }}
6161
- uses: codecov/[email protected]
62-
- run: vitest --reporter=junit --outputFile=test-report.junit.xml
62+
- run: pnpm run test:junit
6363
- name: Upload test results to Codecov
6464
if: ${{ !cancelled() }}
6565
uses: codecov/test-results-action@v1

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"prepare": "husky",
3030
"test": "vitest run",
3131
"test:coverage": "vitest run --coverage",
32+
"test:junit": "vitest --reporter=junit --outputFile=test-report.junit.xml",
3233
"test:ui": "vitest --ui"
3334
},
3435
"lint-staged": {

0 commit comments

Comments
 (0)