Skip to content

ci(release): verify shrinkwrap installs on node 20 before publish - #9555

Draft
pranavjain97 wants to merge 1 commit into
masterfrom
pranavjain/wcn-2098-add-pre-publish-node-20-shrinkwrap-install-ci-step
Draft

ci(release): verify shrinkwrap installs on node 20 before publish#9555
pranavjain97 wants to merge 1 commit into
masterfrom
pranavjain/wcn-2098-add-pre-publish-node-20-shrinkwrap-install-ci-step

Conversation

@pranavjain97

Copy link
Copy Markdown
Contributor

Adds a pre-publish gate between the siblings publish (pass 1) and the bitgo publish (pass 2): npm pack triggers the shrinkwrap generator via prepack, then we install the resulting tarball on Node 20 with engine-strict=true. Any transitive pinned by the shrinkwrap that violates engines (like sanitize-html@2.17.6 in WCN-2091) fails the release before the bad bitgo tarball reaches npm.

Runs after pass 1 because the generator resolves newly-published siblings from the registry. If it fails, siblings are on npm but bitgo isn't -- fix and re-run in recovery-mode.

Skipped in dry-run since siblings aren't published there.

TICKET: WCN-2098

…bitgo

Adds a pre-publish gate between the siblings publish (pass 1) and the
bitgo publish (pass 2): npm pack triggers the shrinkwrap generator via
prepack, then we install the resulting tarball on Node 20 with
engine-strict=true. Any transitive pinned by the shrinkwrap that
violates engines (like sanitize-html@2.17.6 in WCN-2091) fails the
release before the bad bitgo tarball reaches npm.

Runs after pass 1 because the generator resolves newly-published
siblings from the registry. If it fails, siblings are on npm but bitgo
isn't -- fix and re-run in recovery-mode.

Skipped in dry-run since siblings aren't published there.

TICKET: WCN-2098
@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

WCN-2098

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