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+ pull_request :
6+
7+ jobs :
8+ test :
9+ runs-on : ubuntu-latest
10+ timeout-minutes : 20
11+
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v4
15+
16+ - name : Setup Node
17+ uses : actions/setup-node@v4
18+ with :
19+ node-version : 22
20+ cache : npm
21+
22+ - name : Install dependencies
23+ run : npm ci
24+
25+ - name : Typecheck
26+ run : npm run typecheck
27+
28+ - name : Fast tests
29+ run : npm run test:ci
30+
31+ - name : Production build
32+ run : npm run build
Original file line number Diff line number Diff line change 55 "scripts" : {
66 "dev" : " node scripts/dev-cleanup.js && next dev --webpack" ,
77 "build" : " rimraf .next/cache && next build --webpack" ,
8- "start" : " next start"
8+ "start" : " next start" ,
9+ "typecheck" : " tsc -p tsconfig.ci.json --noEmit" ,
10+ "test:ci" : " vitest run src/lib/search.test.ts src/lib/graph_integration.test.ts src/lib/contextAssembly.test.ts src/lib/promptSafety.test.ts src/lib/chatHistory.test.ts src/lib/vectorStore.test.ts src/lib/chunker.test.ts" ,
11+ "test:research" : " vitest run src/lib/ablation.test.ts" ,
12+ "test:benchmark" : " vitest run src/lib/pipeline-benchmark.test.ts"
913 },
1014 "dependencies" : {
1115 "@babycommando/entity-db" : " ^1.0.11" ,
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ./tsconfig.json" ,
3+ "include" : [
4+ " next-env.d.ts" ,
5+ " src/**/*.ts" ,
6+ " src/**/*.tsx" ,
7+ " *.ts" ,
8+ " *.mts"
9+ ],
10+ "exclude" : [
11+ " node_modules" ,
12+ " src/lib/ablation.test.ts" ,
13+ " src/lib/pipeline-benchmark.test.ts"
14+ ]
15+ }
You can’t perform that action at this time.
0 commit comments