[codex] align SDK API documentation workflow #3
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| sdk: | |
| name: SDK workspace | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - name: Install | |
| run: pnpm install --frozen-lockfile | |
| - name: Validate | |
| run: pnpm run validate | |
| - name: Generate Postman collection | |
| run: pnpm api:postman | |
| - name: Upload Postman collection artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: postman_collection | |
| path: api/postman_collection.json | |
| if-no-files-found: error | |
| - name: Package dry run | |
| run: pnpm pack:dry-run |