Commit 63ba83a190
Unsigned
Layout: unified · split
.github/workflows/ci.yml +6
| @@ -21,6 +21,12 @@ jobs: | |||
| 21 | 21 | ||
| 22 | - run: npm ci | 22 | - run: npm ci |
| 23 | 23 | ||
| 24 | # worker-configuration.d.ts is generated, not committed, and tsconfig | ||
| 25 | # lists it under "types" — so tsc cannot run on a fresh checkout without | ||
| 26 | # this. Needs no Cloudflare credentials; it reads wrangler.jsonc. | ||
| 27 | - name: Generate Workers types | ||
| 28 | run: npm run types | ||
| 29 | |||
| 24 | # The engine is TypeScript on Workers types; a type error is a deploy | 30 | # The engine is TypeScript on Workers types; a type error is a deploy |
| 25 | # that fails in Cloudflare's build rather than here. | 31 | # that fails in Cloudflare's build rather than here. |
| 26 | - name: Typecheck | 32 | - name: Typecheck |