phase 16: vitest + MSW frontend tests, CI integration
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user