Skip to content

Conversation

@rak-phillip
Copy link
Member

@rak-phillip rak-phillip commented Dec 11, 2025

Summary

This ensures that npm 11.5.1 or later is installed by running the update npm command before attempting to publish.

Occurred changes and/or fixed issues

  • Ensure that npm 11.5.1 or later is installed

Technical notes summary

First attempt to publish a new package failed. Trusted publishing requires npm CLI version 11.5.1 or later1, so this attempts to update npm before publishing.

Areas or cases that should be tested

Releasing Rancher Components.

Areas which could experience regressions

Releasing Rancher Components.

Screenshot/Video

NA

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes
  • The PR has been reviewed in terms of Accessibility
  • The PR has considered, and if applicable tested with, the three Global Roles Admin, Standard User and User Base

Footnotes

  1. https://docs.npmjs.com/trusted-publishers

@rak-phillip rak-phillip merged commit 259e925 into rancher:master Dec 11, 2025
92 of 94 checks passed
@rak-phillip rak-phillip deleted the task/components-trusted-provider-npm-version branch December 11, 2025 21:51
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.

2 participants