Skip to content

chore: release 12.0.0-pre.2#9594

Open
github-actions[bot] wants to merge 1 commit into
latestfrom
release-please--branches--latest
Open

chore: release 12.0.0-pre.2#9594
github-actions[bot] wants to merge 1 commit into
latestfrom
release-please--branches--latest

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

12.0.0-pre.2

12.0.0-pre.2 (2026-06-24)

Features

Bug Fixes

Dependencies

arborist: 10.0.0-pre.2

10.0.0-pre.2 (2026-06-24)

Features

Bug Fixes

config: 11.0.0-pre.2

11.0.0-pre.2 (2026-06-24)

Features

Bug Fixes

libnpmdiff: 9.0.0-pre.1

Dependencies

libnpmexec: 11.0.0-pre.1

11.0.0-pre.1 (2026-06-24)

Bug Fixes

Dependencies

libnpmfund: 8.0.0-pre.1

Dependencies

libnpmpack: 10.0.0-pre.2

Dependencies


This PR was generated with Release Please. See documentation.

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor Author

Release Manager

Release workflow run: https://github.com/npm/cli/actions/runs/28126122993

Release Checklist for v12.0.0-pre.2

  • 1. Checkout the release branch

    Ensure git status is not dirty on this branch after resetting deps. If it is, then something is probably wrong with the automated release process.

    gh pr checkout 9594 --force
    npm run resetdeps
    node scripts/git-dirty.js
  • 2. Check CI status

    gh pr checks --watch
  • 3. Log in to npm

    npm login sessions are short lived, so you will want to have a fresh one before you publish.

    npm login
  • 4. Publish the CLI and workspaces

    Warning:
    This will publish all updated workspaces to latest, prerelease or backport depending on their version, and will publish the CLI with the dist-tag set to next-12.

    Note:
    The --test argument can optionally be omitted to run the publish process without running any tests locally.

    node scripts/publish.js --test
  • 5. Optionally install and test npm@12.0.0-pre.2 locally

    npm i -g npm@12.0.0-pre.2
    npm --version
    npm whoami
    npm help install
    # etc
  • 6. Trigger docs.npmjs.com update

    gh workflow run update-cli.yml --repo npm/documentation
  • 7. Approve and Merge release PR

    gh pr review --approve
    gh pr merge --rebase
    git checkout latest
    git fetch
    git reset --hard origin/latest
    node . run resetdeps
  • 8. Wait For Release Tags

    Warning:
    The remaining steps all require the GitHub tags and releases to be created first. These are done once this PR has been labelled with autorelease: tagged.

    Release Please will run on the just merged release commit and create GitHub releases and tags for each package. The release bot will will comment on this PR when the releases and tags are created.

    Note:
    The release workflow also includes the Node integration tests which do not need to finish before continuing.

    You can watch the release workflow in your terminal with the following command:

    gh run watch `gh run list -R npm/cli -w release -b latest -L 1 --json databaseId -q ".[0].databaseId"`
    
  • 9. Mark GitHub Release as latest

    Warning:
    You must wait for CI to create the release tags before running this step. These are done once this PR has been labelled with autorelease: tagged.

    Release Please will make GitHub Releases for the CLI and all workspaces, but GitHub has UI affordances for which release should appear as the "latest", which should always be the CLI. To mark the CLI release as latest run this command:

    gh release -R npm/cli edit v12.0.0-pre.2 --latest
  • 10. Open nodejs/node PR to update npm

    Warning:
    You must wait for CI to create the release tags before running this step. These are done once this PR has been labelled with autorelease: tagged.

    Trigger the Create Node PR action. This will open a PR on nodejs/node to the main branch.

    First, sync our fork of node with the upstream source:

    gh repo sync npm/node --source nodejs/node --force

    Then, if we are opening a PR against the latest version of node:

    gh workflow run create-node-pr.yml -R npm/cli -f spec=next-12

    For backport releases, you must target the correct Node branch using -f branch=<NODE_MAJOR>. Make sure you are targeting the right Node major version for this npm version.

    For example, this will create a PR on nodejs/node to the v16.x-staging branch:

    gh workflow run create-node-pr.yml -R npm/cli -f spec=next-12 -f branch=16
  • 11. Label and fast-track nodejs/node PR

    Note:
    This requires being a nodejs collaborator. This could be you!

    • Thumbs-up reaction on the Fast-track comment
    • Add an LGTM / Approval
    • Add request-ci label to get it running CI
    • Add commit-queue label once everything is green
    • For backport releases, comment on the PR asking the Node.js team to add dont-land-on-v<NODE_MAJOR> labels for Node versions where this npm version should not be included

@github-actions github-actions Bot force-pushed the release-please--branches--latest branch 22 times, most recently from 08ac26d to 322e32c Compare June 24, 2026 17:51
@manzoorwanijk

Copy link
Copy Markdown
Contributor

@owlstronaut I guess we need to cherry-pick #9636 to latest.

@github-actions github-actions Bot force-pushed the release-please--branches--latest branch 3 times, most recently from a65e53b to 5c13e71 Compare June 24, 2026 18:34
@github-actions github-actions Bot force-pushed the release-please--branches--latest branch 3 times, most recently from d7dbf67 to 7d9a125 Compare June 24, 2026 18:43
@manzoorwanijk

Copy link
Copy Markdown
Contributor

@owlstronaut #9646 should restore the coverage. We should also replace #9636 with that fix.

@github-actions github-actions Bot force-pushed the release-please--branches--latest branch 5 times, most recently from 8c15bb3 to b418f54 Compare June 24, 2026 20:04
@github-actions github-actions Bot force-pushed the release-please--branches--latest branch from b418f54 to cbc2e91 Compare June 24, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant