SESSIONS_API_V2 CLI migration + launcher mirrors the request body #332
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: [main] | |
| pull_request: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: latest | |
| - run: bun install | |
| - run: bun run typecheck | |
| - run: bun run test | |
| - run: bun run build | |
| # Compile-smoke: the release Bun-compiles a single binary, which bundles | |
| # everything (unlike tsup) and can fail where `build` passes. Catch that | |
| # here so a release tag never breaks on it. | |
| - run: bun build src/cli.tsx --compile --outfile /tmp/agent | |
| - run: /tmp/agent --version |