Skip to content

ci: publish with npm trusted publishing - #27

Merged
jinzcdev merged 1 commit into
mainfrom
fix/npm-trusted-publishing
Nov 5, 2026
Merged

jinzcdev merged 1 commit into
mainfrom
fix/npm-trusted-publishing

Conversation

@jinzcdev

@jinzcdev jinzcdev commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove the NPM_TOKEN secret from the publish step so npm authenticates via GitHub OIDC (Trusted Publishing)
  • Add workflow_dispatch so a release can be published manually; release events created with GITHUB_TOKEN do not trigger other workflows
  • Keep the tag/package version check for release events only

Why

v1.5.0 publishing failed with EOTP because the secret token required 2FA. Trusted Publishing is already configured on npm for this repository and workflow.

🤖 Generated with Claude Code

Remove the NPM_TOKEN secret and let npm authenticate via GitHub OIDC.
Add workflow_dispatch so a release can be published manually, since
release events created by GITHUB_TOKEN do not trigger other workflows.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@jinzcdev
jinzcdev merged commit 90fd84e into main Nov 5, 2026
1 check passed
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