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+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ ci :
15+ name : CI
16+ runs-on : ubuntu-latest
17+ timeout-minutes : 15
18+
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+
23+ - name : Setup Bun
24+ uses : oven-sh/setup-bun@v2
25+ with :
26+ bun-version : latest
27+
28+ - name : Install dependencies
29+ run : bun install --frozen-lockfile
30+
31+ - name : TypeScript type checking
32+ run : bun run typecheck
33+
34+ - name : Lint (Biome)
35+ run : bunx biome check .
36+
37+ - name : Check for biome-ignore comments
38+ run : ./scripts/check-ignores.sh
39+
40+ - name : Check code duplication
41+ run : bunx jscpd src/
42+
43+ - name : Check file length limits
44+ run : ./scripts/check_file_length.sh
45+
46+ - name : Check query embeddings
47+ run : bun scripts/check-query-embeddings.ts
48+
49+ - name : Check for dead code (knip)
50+ run : bunx knip
51+
52+ - name : Run unit tests
53+ run : bun run test
54+ env :
55+ CI : true
56+
57+ - name : Run E2E tests
58+ run : bun run vitest run --config src/cli/e2e/vitest.config.ts src/cli/e2e/
59+ env :
60+ CI : true
61+
62+ - name : Build
63+ run : bun run build
You can’t perform that action at this time.
0 commit comments