File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ name : Typecheck & Tests
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ node : [18, 20]
16+ env :
17+ CI : true
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+
22+ - name : Setup Node
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : ${{ matrix.node }}
26+ cache : ' pnpm'
27+
28+ - name : Setup pnpm
29+ uses : pnpm/action-setup@v2
30+ with :
31+ version : 10.18.1
32+
33+ - name : Install dependencies
34+ run : pnpm install --frozen-lockfile
35+
36+ - name : Typecheck
37+ run : pnpm run typecheck
38+
39+ - name : Run tests
40+ run : pnpm test -- --run
41+
42+ - name : Run SSR check
43+ run : pnpm run check:ssr
44+ name : CI
45+
346on :
447 push :
548 branches : [main]
You can’t perform that action at this time.
0 commit comments