Repository navigation
Switch from polling to webhook-based updates #29
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: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - run: npm ci | |
| - run: npx tsc --noEmit | |
| - run: npx wrangler deploy --dry-run --outdir dist | |
| # Gate job: single Required status check for branch protection. | |
| # Add new jobs to `needs` when CI grows. No Settings change needed. | |
| CI: | |
| if: always() | |
| needs: [test] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: | | |
| if [[ "${{ needs.test.result }}" != "success" ]]; then | |
| echo "CI failed: test=${{ needs.test.result }}" | |
| exit 1 | |
| fi |