fix: collapse duplicated Codex turns in transcript preview (v0.3.3) #572
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [master, main] | |
| pull_request: | |
| branches: [master, main] | |
| jobs: | |
| ci: | |
| # Pinned to 22.04 — the May 18 ubuntu-24.04 runner image regresses child | |
| # Bun spawns under `bun test --coverage`: the server boot via Bun.spawn in | |
| # integration tests never becomes healthy regardless of timeout (verified | |
| # at 60s+ wrappers). Investigating root cause separately; the e2e job | |
| # below stays on ubuntu-latest because Playwright's own webServer launch | |
| # is unaffected. | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: .bun-version | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Dependency risk scan | |
| run: bun run deps:risk:ci | |
| - name: Lint | |
| run: bun run lint | |
| - name: Type check | |
| run: bun run typecheck | |
| - name: Test (coverage) | |
| run: bun run test:coverage | |
| - name: Upload coverage artifact | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-lcov | |
| path: coverage/lcov.info | |
| - name: Build | |
| run: bun run build | |
| e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version-file: .bun-version | |
| - name: Install dependencies | |
| run: bun install --frozen-lockfile | |
| - name: Install tmux | |
| run: sudo apt-get update && sudo apt-get install -y tmux | |
| - name: Install Playwright browsers | |
| run: bunx playwright install --with-deps chromium | |
| - name: Setup tmux session | |
| run: | | |
| tmux new-session -d -s agentboard -n test | |
| tmux send-keys -t agentboard:test 'echo "hello from CI"' Enter | |
| sleep 1 | |
| tmux capture-pane -t agentboard:test -p | |
| - name: Build | |
| run: bun run build | |
| - name: Run e2e tests | |
| run: bunx playwright test | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 7 |