codeburn/.github/workflows
Paul Logan 0ec9ea93cb fix: guard publish against a half-built dist
The build is `tsup && tsc`. tsup runs with clean:true, so it wipes dist and
writes JavaScript; if tsc then fails, dist holds .js with no declarations. The
build exits non-zero, but packages/core declared no prepublishOnly, so nothing
rebuilt at publish time and a later npm publish would ship it.

Reproduced: remove the declarations from a copy of dist and npm pack --dry-run
still succeeds, with all 41 exports subpaths pointing at files absent from the
tarball. npm pack was never the guard.

Adds prepublishOnly (build then verify) and scripts/verify-dist.mjs, which
asserts every exports target exists. CI runs verify-dist as well, so the guard
is exercised on every push rather than only on the rare publish.
2026-07-27 15:12:13 -07:00
..
block-claude-coauthor.yml chore(ci): bump GitHub Actions to Node 24 versions 2026-06-10 01:11:08 +02:00
build-windows-store.yml chore(workspace): move CLI to packages/cli, add @codeburn/core skeleton (phase 1) 2026-07-26 10:19:33 -07:00
ci.yml fix: guard publish against a half-built dist 2026-07-27 15:12:13 -07:00
firstlook.yml chore: enable firstlook workflow_dispatch for backlog scans 2026-04-21 06:33:09 -07:00
release-menubar.yml chore(ci): bump GitHub Actions to Node 24 versions 2026-06-10 01:11:08 +02:00