♻️ Run doc-test generation as an explicit CI step

Drop the `pretest:ci` lifecycle hook and call `create:doc-tests` from the
`build` job before `test:ci`. The hook hid the step from the job log and
made `test:ci` behave differently under npm than when run directly.
This commit is contained in:
tmu committed 2026-09-24 13:08:45 +00:00
1 parent 4dc58395c0
commit 400fe902e0
6 files changed
+13 -6

No files matched your search

+2 -2
View File
@@ -7,6 +7,6 @@ formats them with `oxfmt`, then type-checks them with
[`tsconfig.json`](./tsconfig.json) — the scoped config that relaxes
`noUnusedLocals` so example-only locals (and the injected `assert`) compile.
CI regenerates them first via `pretest:ci`; the fast local `test` / `verify`
tiers do not. See [development/docs.md](../../development/docs.md) for why the
CI regenerates them in an explicit step before `test:ci`; the fast local `test` /
`verify` tiers do not. See [development/docs.md](../../development/docs.md) for why the
generator is shaped this way.