File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - ' milestone/**'
8+ pull_request :
9+ branches :
10+ - main
11+
12+ jobs :
13+ verify :
14+ name : Verify
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - name : Setup Node.js
21+ uses : actions/setup-node@v4
22+ with :
23+ node-version : 22
24+ cache : npm
25+ cache-dependency-path : |
26+ backend/package-lock.json
27+ frontend/package-lock.json
28+
29+ # --- Backend ---
30+ - name : Install backend dependencies
31+ run : cd backend && npm ci
32+
33+ - name : Backend type check
34+ run : cd backend && npx tsc --noEmit
35+
36+ - name : Backend tests
37+ run : cd backend && npx vitest run
38+
39+ - name : Backend coverage
40+ run : cd backend && npx vitest run --coverage
41+
42+ # --- Frontend ---
43+ - name : Install frontend dependencies
44+ run : cd frontend && npm ci
45+
46+ - name : Frontend type check
47+ run : cd frontend && npx tsc -b
48+
49+ - name : Frontend build
50+ run : cd frontend && npx vite build
You can’t perform that action at this time.
0 commit comments