DEV Community

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

Collapse
 
pavelloz profile image
Paweł Kowalski

Nice one!

I think yesterday i saw a GH action example that did exactly that, and it looked so similar i wouldnt be surprised if you were the author :-)

PS. Yeah npm version is cool, takes argument to be SemVer compatible too!

Collapse
 
joeattardi profile image
Joe Attardi

Nope, that wasn’t me 😁 any similarity is purely coincidental!

The bit I found about writing the temporary npmrc was taken from the discussion on a GitHub issue about the registry-url setting not being honored.