Skip to content

ci: verify npm package contents#5

Merged
leblancfg merged 1 commit into
mainfrom
vi/check-package-tarball
Jun 26, 2026
Merged

ci: verify npm package contents#5
leblancfg merged 1 commit into
mainfrom
vi/check-package-tarball

Conversation

@leblancfg

Copy link
Copy Markdown
Owner

Problem

CI builds and smoke-tests the dist output, but it does not verify the npm package that would be published. A change can pass tests while accidentally omitting files from the tarball because of the files allowlist, build output drift, or package metadata changes.

For a pi extension, that is a sharp failure mode: install-time packaging problems show up only after release.

Change

  • Run npm pack --dry-run in CI after pnpm run smoke:dist.
  • Keep this as a packaging check only; no runtime code changes.

Verification

  • npm pack --dry-run
  • git diff --check

@leblancfg
leblancfg force-pushed the vi/check-package-tarball branch from ffa8ce7 to 9add283 Compare June 26, 2026 00:09
@leblancfg
leblancfg merged commit e004776 into main Jun 26, 2026
1 check passed
@leblancfg
leblancfg deleted the vi/check-package-tarball branch June 26, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant