NPM Trusted Publishing

Set up or fix npm trusted publishing (OIDC) in GitHub Actions and remove NPM_TOKEN. Use for ENEEDAUTH, E404 on PUT, E422 repository.url, or migrating off 2FA-bypass tokens before January 2027.

GitHub (Microsoft) Updated 41.2k repo stars
Picture from the README

File contents

github/awesome-copilot commit 7b00967572

Frequently asked questions

npx get-skill add github/npm-trusted-publishing