test(frontend): repair the vitest suite and run it in CI

This commit is contained in:
AlexRV12
2026-11-16 15:56:00 +01:00
parent 3ce2acfbe5
commit cff9cc291f
10 changed files with 52 additions and 44 deletions
+13
View File
@@ -30,3 +30,16 @@ jobs:
NODE_OPTIONS: --max-old-space-size=8192
run: cd frontend && npm ci && npm run lint && npm run generate-backend-client &&
npm run check
unit_tests:
runs-on: ubicloud-standard-8
steps:
- uses: actions/checkout@v4.4.0
- uses: actions/setup-node@v7.1.0
with:
node-version: 24
cache: "npm"
cache-dependency-path: "frontend/package-lock.json"
- name: "vitest"
timeout-minutes: 10
run: cd frontend && npm ci && npm run generate-backend-client && npx vitest run