Repository navigation
feat(samples): add a complete TypeScript Agent SDK Web UI showcase #6
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: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| typescript: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: typescript/package-lock.json | |
| - run: npm ci | |
| working-directory: typescript | |
| - run: npx playwright install --with-deps chromium | |
| working-directory: typescript/web-ui-showcase | |
| - run: npm run check --workspaces | |
| working-directory: typescript | |
| python: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - uses: astral-sh/setup-uv@v6 | |
| - run: uv sync | |
| working-directory: python | |
| - run: uv run ruff check . | |
| working-directory: python | |
| - run: uv run ruff format --check . | |
| working-directory: python | |
| - name: Type-check samples | |
| run: | | |
| for sample in quickstart multi-turn-conversation streaming-chat code-review tool-permissions ask-user-question model-selection hooks custom-tools subagents external-session-storage; do | |
| uv run mypy "$sample" | |
| done | |
| working-directory: python |