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+ push :
6+ branches : [main]
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ test :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v6
16+
17+ - uses : actions/setup-node@v6
18+ with :
19+ node-version : ' 24'
20+
21+ - uses : oven-sh/setup-bun@v2
22+
23+ - run : bun install --frozen-lockfile
24+
25+ - name : Codegen drift check
26+ run : |
27+ bun run generate
28+ git diff --exit-code -- specs/openapi.json src/client.gen.ts src/sdk.gen.ts src/types.gen.ts src/client src/core \
29+ || { echo 'codegen drift: commit the regenerated files'; exit 1; }
30+
31+ - name : Lint
32+ run : bunx biome ci .
33+
34+ - name : Typecheck
35+ run : bun typecheck
36+
37+ - name : Docs drift check
38+ run : |
39+ bun run docs:sync
40+ git diff --exit-code -- README.md AGENTS.md \
41+ || { echo 'docs drift: commit the regenerated README.md/AGENTS.md'; exit 1; }
42+
43+ - name : Test
44+ run : bun run test
You can’t perform that action at this time.
0 commit comments