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+ concurrency :
8+ group : ci-${{ github.ref }}
9+ cancel-in-progress : true
10+
11+ jobs :
12+ build-test :
13+ runs-on : ubuntu-latest
14+ timeout-minutes : 20
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v4
18+
19+ - name : Setup pnpm
20+ uses : pnpm/action-setup@v4
21+ with :
22+ version : 10.33.0
23+
24+ - name : Setup Node.js
25+ uses : actions/setup-node@v4
26+ with :
27+ node-version : 22
28+ cache : pnpm
29+
30+ - name : Install dependencies
31+ run : pnpm install --frozen-lockfile
32+
33+ - name : Build
34+ run : pnpm build
35+
36+ - name : Typecheck
37+ run : pnpm typecheck
38+
39+ - name : Test
40+ run : pnpm test
Original file line number Diff line number Diff line change 1+ name : E2E
2+
3+ on :
4+ workflow_dispatch :
5+
6+ concurrency :
7+ group : e2e-${{ github.ref }}
8+ cancel-in-progress : true
9+
10+ jobs :
11+ pi-sdk-smoke :
12+ runs-on : ubuntu-latest
13+ timeout-minutes : 20
14+ steps :
15+ - name : Checkout
16+ uses : actions/checkout@v4
17+
18+ - name : Setup pnpm
19+ uses : pnpm/action-setup@v4
20+ with :
21+ version : 10.33.0
22+
23+ - name : Setup Node.js
24+ uses : actions/setup-node@v4
25+ with :
26+ node-version : 22
27+ cache : pnpm
28+
29+ - name : Install dependencies
30+ run : pnpm install --frozen-lockfile
31+
32+ - name : Run e2e tests
33+ shell : bash
34+ run : |
35+ set -o pipefail
36+ pnpm test:e2e 2>&1 | tee e2e.log
37+
38+ - name : Upload e2e log
39+ if : failure()
40+ uses : actions/upload-artifact@v4
41+ with :
42+ name : e2e-log
43+ path : e2e.log
Original file line number Diff line number Diff line change 99 "check-types" : " tsc --noEmit -p tsconfig.json"
1010 },
1111 "dependencies" : {
12+ "@mariozechner/pi-ai" : " ^0.69.0" ,
13+ "@mariozechner/pi-coding-agent" : " ^0.69.0" ,
14+ "@sinclair/typebox" : " ^0.34.49" ,
1215 "@agent-container/test-utils" : " workspace:*" ,
1316 "@agent-container/types" : " workspace:*" ,
1417 "agent-container" : " workspace:*" ,
You can’t perform that action at this time.
0 commit comments