feat(ci/server): HTML output

This commit is contained in:
Elian Doran 2026-03-05 22:06:46 +02:00
parent 5afab6938a
commit 85d8c4c8fa
No known key found for this signature in database
2 changed files with 10 additions and 1 deletions

View File

@ -43,6 +43,14 @@ jobs:
- name: Run the server-side tests
run: pnpm run --filter=server test
- name: Upload server test report
uses: actions/upload-artifact@v4
if: always()
with:
name: server-test-report
path: apps/server/test-output/vitest/html/
retention-days: 30
- name: Run the rest of the tests
run: pnpm run --filter=\!client --filter=\!server test

View File

@ -21,7 +21,8 @@ export default defineConfig(() => ({
],
hookTimeout: 40_000,
reporters: [
"verbose"
"verbose",
["html", { outputFile: "./test-output/vitest/html/index.html" }]
],
coverage: {
reportsDirectory: './test-output/vitest/coverage',