File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 - run : pnpm architecture:check
6666 - run : pnpm deadcode
6767 - run : pnpm typecheck
68- - name : Verify aggregate production resource source contract
69- run : pnpm verify:production-resources -- --source-only
70- # Prove that a production-target prebuilt accepts live-shaped, inert
71- # configuration before Vercel has assigned its runtime URL.
72- - run : pnpm check:web-prebuilt-env
7368 - run : pnpm build
7469 env :
7570 # Static compilation must never expose a real Clerk Backend API credential
Original file line number Diff line number Diff line change @@ -196,10 +196,6 @@ test-shaped Clerk publishable value rather than a deployable credential. Protect
196196authenticated ` vercel curl ` requests using the scoped CI token, so no separate
197197protection-bypass secret is distributed. ` VERCEL_PRODUCTION_URL ` is required and
198198must exactly equal the canonical ` https://trycheatcode.com ` frontend origin.
199- ` pnpm check:web-prebuilt-env ` is the non-secret local/CI proof that a production
200- prebuilt selects live credentials and canonical origins through
201- ` VERCEL_TARGET_ENV=production ` while correctly leaving the runtime-only
202- ` VERCEL_ENV ` and ` VERCEL_URL ` unset until Vercel deploys the artifact.
203199Use one least-privilege Cloudflare release token scoped to the production account
204200and the exact ` trycheatcode.com ` zone. It needs account ` Workers Scripts Write `
205201(the Workflows list/detail/version/instance APIs accept this permission), exact-zone
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ Framework app only.
2121
2222``` bash
2323pnpm --filter @cheatcode/web typecheck
24- pnpm check:web-prebuilt-env
2524```
2625
2726Product QA is direct ` agent-browser --auto-connect --session cheatcode-debug `
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ read raw `process.env` values only to pass them into the pure `./web-config` val
1616
1717``` bash
1818pnpm --filter @cheatcode/env typecheck
19- pnpm check:web-prebuilt-env
2019```
2120
2221## Env
You can’t perform that action at this time.
0 commit comments