Fix GitHub Actions publish workflow to support OIDC authentication#62
Merged
Fix GitHub Actions publish workflow to support OIDC authentication#62
Conversation
- Added environment variable `NODE_AUTH_TOKEN` to clear default token for OIDC usage. - Upgraded npm to version 11 to support OIDC features during the publish process. - Improved workflow flexibility and security by leveraging token-based authentication. This change is part of ongoing improvements to the publishing process, ensuring better integration with modern authentication methods.
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
This PR enhances the GitHub Actions publish workflow by adding support for OpenID Connect (OIDC) authentication, addressing issues with the current npm publishing process.
Changes Made
.github/workflows/publish.ymlto include OIDC configurationKey Improvements
Breaking Changes
None. This change only affects the CI/CD pipeline and does not impact the application code or user-facing functionality.
Testing Notes for Reviewers
Browser Compatibility
No impact on browser compatibility as this change only affects the build/publish pipeline infrastructure.
Additional Notes
This is a DevOps infrastructure improvement that enhances the security and reliability of our package publishing process without affecting end users or the application runtime.
🤖 Generated with Claude Code
Branch Info:
bugfix/fix-oidc-npmmainCo-Authored-By: Claude noreply@anthropic.com