fix: pin npm to ^11 to avoid broken npm@12 bundled dependencies - #1367
Merged
Conversation
harshithRai
approved these changes
Jul 10, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1367 +/- ##
========================================
Coverage 89.62% 89.62%
========================================
Files 428 428
Lines 19886 19886
Branches 9400 9757 +357
========================================
Hits 17823 17823
Misses 2063 2063
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
tusharpandey13
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Pins npm in the publish action from @latest to @^11 to avoid breakage from
npm@12.0.0, which ships with missing bundled dependencies (sigstore, promise-retry) that cause npm publish--provenanceto fail.npm@^11 is the latest stable major that correctly supports provenance publishing. Using @latest meant any new npm major release could silently break the release pipeline, as happened here with npm@12.0.0.
No SDK code, public API, or functionality is affected, this is a CI-only change.
References
Testing
Verified by triggering the release workflow and confirming npm publish
--provenancecompletes successfully withnpm@^11on Node 22.23.1.Checklist