Skip to content

Conversation

@mstruebing
Copy link
Member

@mstruebing mstruebing commented Dec 12, 2025

After a bit of digging I've found out that trusted publishers needs a minimum npm version to work.
I've tried it in a repository and was able to publish something:

https://github.com/mstruebing/npm-publish-test
https://www.npmjs.com/package/@mstruebing/npm-publish-test/access

Here is the GitHub discussion which made me aware of the issue that npm is to old: https://github.com/orgs/community/discussions/173102

I've tried it with node 25 as well and it is working without an npm update, but I did not want to use the latest node version in CI in this old branch as well as I didn't want to install @latest npm as it could lead to problems.

I hope this is the last missing piece here.

reference: #2702

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Dec 12, 2025
Copy link
Contributor

@cjihrig cjihrig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 12, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cjihrig, mstruebing

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit eb93de0 into release-1.1 Dec 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants