DEV Community

Discussion on: How to publish an npm package to npm and GitHub Package Registry simultaneously using GitHub Actions

Collapse
 
lkreimann profile image
Lea Reimann 🦄

Nice article, thanks for that! I wasn't sure how to authenticate before publishing to a private GitHub registry

Usually you shouldn't have to create a separate secret for GitHub to use in GitHub Actions though, GitHub already provides a general-purpose token for GitHub Actions: docs.github.com/en/actions/configu...
... but that didn't work for me neither (see link below too, apparently you need a PAT at the moment ...) github.community/t/installing-npm-...