Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(ci/client): HTML output
Elian Doran9b4f8c50033c
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.ymlindex f27a16923b..5a281f5bf2 100644--- a/.github/workflows/dev.yml+++ b/.github/workflows/dev.yml@@ -40,6 +40,14 @@ jobs:- name: Run the client-side testsrun: pnpm run --filter=client test+ - name: Upload client test report+ uses: actions/upload-artifact@v4+ if: always()+ with:+ name: client-test-report+ path: apps/client/test-output/vitest/html/+ retention-days: 30+- name: Run the server-side testsrun: pnpm run --filter=server testdiff --git a/apps/client/vite.config.mts b/apps/client/vite.config.mtsindex 716ec8b912..29e4ee2080 100644--- a/apps/client/vite.config.mts+++ b/apps/client/vite.config.mts@@ -120,7 +120,11 @@ export default defineConfig(() => ({environment: "happy-dom",setupFiles: ["./src/test/setup.ts"- ]+ ],+ reporters: [+ "verbose",+ ["html", { outputFile: "./test-output/vitest/html/index.html" }]+ ],},commonjsOptions: {transformMixedEsModules: true,