Fix npm trusted publishing runtime#273
Merged
Merged
Conversation
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.
Summary
registry-urlsetup so npm trusted publishing can use GitHub OIDC without a blankNODE_AUTH_TOKENpath.0.7.33and document the corrected release path.Root Cause
v0.7.32fixed the previous missing-token publish path, but the release job then failed before publish while trying to runnpm install -g npm@latestbecause the hosted npm runtime could not resolvepromise-retry. Using Node 24 avoids the fragile self-upgrade step and keeps publish on the supported trusted-publishing path.Verification
git diff --checkpackage.json,package-lock.json, andopenclaw.plugin.jsonnpm run typechecknpm run test:hooksnpm run buildRollout
Create release
v0.7.33after merge. If npm still rejects publish, the remaining action is external package configuration: npm trusted publishing must be enabled foruseorgx/openclaw-pluginand.github/workflows/publish.yml.