Skip to content

Conversation

@PierreJeanjacquot
Copy link
Member

Add support for tokenless npm publication

  • remove token presence check
  • update npm version to match minimal supporting OIDC

@PierreJeanjacquot PierreJeanjacquot requested review from SeddikBellamine and abbesBenayache and removed request for SeddikBellamine October 15, 2025 14:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for tokenless npm publication using OIDC trusted publishers, allowing GitHub Actions workflows to publish to npm without storing authentication tokens as secrets.

  • Removed token presence validation step that previously blocked tokenless publication
  • Updated documentation to include trusted publisher setup instructions and deprecate token-based approach
  • Updated npm to latest version to ensure OIDC support

Reviewed Changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
publish-npm/README.md Added comprehensive documentation for trusted publisher setup, marked token-based approach as deprecated, and updated secret description
.github/workflows/publish-npm.yml Removed token validation step and added npm update step to ensure OIDC compatibility

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@PierreJeanjacquot PierreJeanjacquot merged commit b4720bb into main Oct 16, 2025
@PierreJeanjacquot PierreJeanjacquot deleted the feat/npm-trusted-publisher branch October 16, 2025 09:00
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.

3 participants