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+ pull_request :
5+ branches :
6+ - main
7+ push :
8+ branches :
9+ - main
10+
11+ permissions :
12+ contents : read
13+
14+ # Cancel superseded runs for the same PR/branch to save CI minutes.
15+ concurrency :
16+ group : ci-${{ github.workflow }}-${{ github.ref }}
17+ cancel-in-progress : true
18+
19+ jobs :
20+ verify :
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v6
24+
25+ # pnpm version comes from the "packageManager" field in package.json,
26+ # Node version from .nvmrc — same single sources of truth as the release.
27+ - uses : pnpm/action-setup@v4
28+
29+ - uses : actions/setup-node@v6
30+ with :
31+ node-version-file : " .nvmrc"
32+ cache : " pnpm"
33+
34+ - name : Install dependencies
35+ run : pnpm install --frozen-lockfile
36+
37+ - name : Type-check
38+ run : pnpm run typecheck
39+
40+ - name : Lint
41+ run : pnpm run lint
42+
43+ - name : Check formatting
44+ run : pnpm run format:check
45+
46+ - name : Test
47+ run : pnpm run test
48+
49+ - name : Build
50+ run : pnpm run build
You can’t perform that action at this time.
0 commit comments