phase 16: vitest + MSW frontend tests, CI integration

This commit is contained in:
Celes Renata
2026-04-11 19:28:38 -07:00
parent 5758a704ec
commit 4d0c38bba7
9 changed files with 1939 additions and 3 deletions
+14
View File
@@ -30,6 +30,20 @@ jobs:
- name: Test
run: python -m pytest tests/ -x --tb=short -q || true
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install frontend deps
run: npm ci
working-directory: frontend
- name: Frontend tests
run: npm test
working-directory: frontend
build-services:
needs: lint-and-test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'