Skip to content

ci(release): pack without installing dependencies - #99

Merged
bnb merged 1 commit into
mainfrom
bnb/release-pack-no-install
Oct 20, 2026
Merged

bnb merged 1 commit into
mainfrom
bnb/release-pack-no-install

Conversation

@botandbang

Copy link
Copy Markdown
Contributor

The release run for v1.1.0 failed in pack (run 39511071405): uppt/pack refuses to install dependencies when the repo has no lockfile and no packageManager field, and this repo deliberately has neither (.npmrc sets package-lock=false).

Changed: the pack job in .github/workflows/release.yml now passes install: false to uppt/pack and sets up Node 24 itself with actions/setup-node v7.1.0, pinned by SHA like the other actions in this file. No published package has a prepack or prepare script, so npm pack needs no dependencies. Running uppt's pack.ts locally against the v1.1.0 tree with no node_modules packed all 8 workspaces.

Also replaced a comment that pointed to a "Lifecycle scripts" section that doesn't exist.

@bnb
bnb merged commit 3cf32cc into main Oct 20, 2026
2 checks passed
@bnb
bnb deleted the bnb/release-pack-no-install branch October 20, 2026 23:20
@github-actions github-actions Bot mentioned this pull request Oct 20, 2026
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.

2 participants