Skip to content

chore: switch npm publish to npm stage publish#7

Open
aliou wants to merge 1 commit into
mainfrom
chore/npm-stage-publish
Open

chore: switch npm publish to npm stage publish#7
aliou wants to merge 1 commit into
mainfrom
chore/npm-stage-publish

Conversation

@aliou

@aliou aliou commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Switch from npm publish to npm stage publish so that packages are staged for review before going live on the npm registry.

Changes:

  • Replace pnpm changeset publish with npm stage publish
  • Remove publish input from changesets/action (use hasChangesets == false pattern)
  • Add workflow_dispatch trigger for manual runs
  • Add npm install -g npm@latest for npm CLI 11.15.0+ (required for stage command)
  • Upgrade actions: checkout@v6, pnpm/action-setup@v6, setup-node@v6
  • Standardize Node version to 24 (25 for monorepos with SEA builds)
  • Harmonize tag format to v{version}
  • Remove NPM_TOKEN (use OIDC via NPM_CONFIG_PROVENANCE)
  • Add packages: write permission

After merge, packages will be staged on npm instead of published immediately. Approve staged packages on https://www.npmjs.com/~aliou (Staged Packages tab) to complete the publish.

- Replace 'pnpm changeset publish' with 'npm stage publish'
- Remove 'publish' input from changesets/action (use hasChangesets pattern)
- Add 'workflow_dispatch' trigger for manual runs
- Add 'npm install -g npm@latest' for npm CLI 11.15.0+ (stage command)
- Upgrade actions: checkout@v6, pnpm/action-setup@v6, setup-node@v6
- Standardize Node version to 24 (25 for monorepos with SEA builds)
- Harmonize tag format to v{version}
- Remove NPM_TOKEN (use OIDC via NPM_CONFIG_PROVENANCE)
- Add 'packages: write' permission
@aliou aliou self-assigned this Jun 10, 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.

1 participant