Commit edaf2bf
fix(ci): generate api-inventory.json before e2e
Last CI run (0129781) cleared the pnpm-workspace + version mismatch
but exposed the next failure: `e2e/api-contracts.spec.ts:49` reads
`tmp/api-inventory.json` which is generated by
`scripts/audit-api-contracts.mjs`. `tmp/` is gitignored so checkout
never has the file; the spec then `readFileSync` ENOENTs and the
whole chromium project fails before any test runs.
Added a `Generate API inventory` step in the e2e job, between
playwright install and the chromium run, so the spec finds the
freshly-built JSON every time.
Verified locally: `node scripts/audit-api-contracts.mjs` exits 0
and emits `tmp/api-inventory.json`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0129781 commit edaf2bf
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
63 | 68 | | |
64 | 69 | | |
65 | 70 | | |
| |||
0 commit comments