Skip to content

fix(ci): pass GITHUB_TOKEN to napi prepublish#531

Merged
hogan-yuan merged 1 commit into
releasefrom
fix/release-nodejs-github-token
May 23, 2026
Merged

fix(ci): pass GITHUB_TOKEN to napi prepublish#531
hogan-yuan merged 1 commit into
releasefrom
fix/release-nodejs-github-token

Conversation

@hogan-yuan
Copy link
Copy Markdown
Member

Summary

  • napi prepublish -t npm needs GITHUB_TOKEN explicitly passed via env: to create the GitHub Release. Without it the request is unauthenticated (401).

Fix

Added GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} to the Publish step in publish-nodejs-sdk job.

…tion

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@hogan-yuan hogan-yuan merged commit c5275cf into release May 23, 2026
95 of 112 checks passed
@hogan-yuan hogan-yuan deleted the fix/release-nodejs-github-token branch May 23, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant