From 85d8c4c8fab25aad8f678a392d335ff84786668d Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 5 Mar 2026 22:06:46 +0200 Subject: [PATCH] feat(ci/server): HTML output --- .github/workflows/dev.yml | 8 ++++++++ apps/server/vite.config.mts | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 640e16c655..f27a16923b 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -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 diff --git a/apps/server/vite.config.mts b/apps/server/vite.config.mts index bb3be97077..ec98733acd 100644 --- a/apps/server/vite.config.mts +++ b/apps/server/vite.config.mts @@ -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',