Tighten execution + scale to 15 markets + Bayse polling fallback #1
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@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - run: pnpm install --frozen-lockfile | |
| - run: pnpm typecheck | |
| - name: Build web | |
| working-directory: apps/web | |
| run: pnpm build | |
| - name: Dry-run worker deploy (bindings check) | |
| working-directory: apps/worker | |
| run: pnpm exec wrangler deploy --dry-run --outdir=dist | |
| env: | |
| # Dry-run doesn't auth, but needs a token shape | |
| CLOUDFLARE_API_TOKEN: "dry-run-placeholder" |