Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI

on:
push:
pull_request:

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
build-test:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.33.0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build

- name: Typecheck
run: pnpm typecheck

- name: Test
run: pnpm test
44 changes: 44 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: E2E

on:
pull_request:
workflow_dispatch:

concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: true

jobs:
pi-sdk-smoke:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.33.0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run e2e tests
shell: bash
run: |
set -o pipefail
pnpm test:e2e 2>&1 | tee e2e.log

- name: Upload e2e log
if: failure()
uses: actions/upload-artifact@v4
with:
name: e2e-log
path: e2e.log
3 changes: 3 additions & 0 deletions apps/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"check-types": "tsc --noEmit -p tsconfig.json"
},
"dependencies": {
"@mariozechner/pi-ai": "^0.69.0",
"@mariozechner/pi-coding-agent": "^0.69.0",
"@sinclair/typebox": "^0.34.49",
"@agent-container/test-utils": "workspace:*",
"@agent-container/types": "workspace:*",
"agent-container": "workspace:*",
Expand Down
Loading
Loading