ci(test): enable the GitHub Actions reporter for Vitest (#15857)
* feat(ci): publish the JUnit report for human * Grant permission to write check-results * Use the GitHub action reporter from vitest
This commit is contained in:
parent
5c692db949
commit
d99b18bd8c
|
|
@ -13,6 +13,7 @@ on:
|
|||
|
||||
permissions:
|
||||
contents: read
|
||||
checks: write
|
||||
|
||||
jobs:
|
||||
fix-pnpm-lock:
|
||||
|
|
@ -68,7 +69,7 @@ jobs:
|
|||
- name: Build routes
|
||||
run: pnpm build
|
||||
- name: Test all and generate coverage
|
||||
run: pnpm run vitest:coverage
|
||||
run: pnpm run vitest:coverage --reporter=github-actions
|
||||
env:
|
||||
REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}/
|
||||
- name: Upload coverage to Codecov
|
||||
|
|
|
|||
Loading…
Reference in New Issue