npm Trusted Publishing (OIDC)
Automates the configuration and debugging of secure, tokenless npm publishing from GitHub Actions using OpenID Connect.
Automates the configuration and debugging of secure, tokenless npm publishing from GitHub Actions using OpenID Connect.
This skill streamlines the transition from long-lived NPM_TOKEN secrets to secure, short-lived OIDC tokens for GitHub Actions. It provides automated guidance for setting up GitHub permissions, ensuring Node.js and npm version compatibility, and validating critical package.json metadata to prevent common deployment failures. By implementing provenance-backed publishing, it enhances the security and transparency of your package supply chain while troubleshooting frequent CI/CD errors like 404 registry mismatches and 422 metadata validation issues.
