chore(codegen): regenerate CouncilTurn for the round @deprecated anno… #52
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
| # CI gate — the single required check on `main` (branch protection → context "verify"). | |
| # | |
| # It runs the FULL local gate so a bad change (metadata not regenerated, a template | |
| # referencing a dropped payload field, a type break, a broken build, or a failing test) | |
| # fails BEFORE merge: | |
| # • demo:drift = meta verify --templates --codegen --prompts data/templates | |
| # (drift gate; run directly, not via metaobjectsdev/meta-verify-action, which only | |
| # does --templates today — see metaobjects.config.ts per-target `targets`) | |
| # • tsc -b = typecheck the generated + hand-written code | |
| # • build:web = the production Vite build actually compiles | |
| # • test = the full vitest suite (runs without .dev.vars — no secrets needed) | |
| # | |
| # NO `paths:` filter, on purpose: this is a REQUIRED check, and the auto-merge flow | |
| # (.github/workflows/dependabot-auto-merge.yml) waits for it. A paths filter would let a | |
| # lockfile-only Dependabot PR skip the check, leaving the required status "pending" | |
| # forever and the PR un-mergeable — the exact failure that let updates pile up before. | |
| # | |
| # When it fails on a metadata/codegen change: run `npm run gen:db`, commit, re-push. | |
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read # least-privilege: this job only reads the tree and runs the gate | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 # wrangler (postinstall `wrangler types`) needs Node >= 22 | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run demo:drift # metadata / prompt / codegen drift gate | |
| - run: npx tsc -b # typecheck generated + hand-written code | |
| - run: npm run build:web # production build compiles | |
| - run: npm test # full vitest suite (no secrets required) |