Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

ci.yml

39 lines832 Bytes

1name: CI
2​
3on:
4 push:
5 branches: [main]
6 pull_request:
7 workflow_call:
8​
9jobs:
10 ci:
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v5
14​
15 - uses: oven-sh/setup-bun@v2
16​
17 - name: Install dependencies
18 run: bun install --frozen-lockfile
19​
20 - name: Format check
21 run: bun --bun run check
22​
23 - name: Lint
24 run: bun --bun run lint
25​
26 - name: Typecheck
27 run: bun run typecheck
28​
29 # The committed client must match the spec (PLAN.md task 7.4).
30 - name: Client drift check
31 run: bun run check:client
32​
33 # Plain `bun run` (no --bun): vitest must run under node — bun's ws shim
34 # lacks the 'upgrade' event the cloudflare workers pool needs.
35 - name: Test
36 run: bun run test
37​
38 - name: Build
39 run: bun --bun run build