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 : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ # Cancel in-progress runs for the same ref to save CI minutes
10+ concurrency :
11+ group : ci-${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ verify :
16+ name : Typecheck, Test & Build
17+ runs-on : ubuntu-latest
18+ timeout-minutes : 15
19+
20+ steps :
21+ - name : Checkout repository
22+ uses : actions/checkout@v4
23+
24+ - name : Setup Bun
25+ uses : oven-sh/setup-bun@v2
26+ with :
27+ bun-version : " 1.3.0"
28+
29+ - name : Cache Turborepo
30+ uses : actions/cache@v4
31+ with :
32+ path : .turbo
33+ key : turbo-${{ runner.os }}-${{ github.sha }}
34+ restore-keys : |
35+ turbo-${{ runner.os }}-
36+
37+ - name : Install dependencies
38+ run : bun install --frozen-lockfile
39+
40+ - name : Typecheck
41+ run : bun run typecheck
42+
43+ - name : Test
44+ run : bun run test
45+
46+ - name : Build
47+ run : bun run build
You can’t perform that action at this time.
0 commit comments