DEV Community

Discussion on: Automatically Publish to npm using GitHub Actions

Collapse
 
negue profile image
negue

Awesome! I wanted to do add this in my project already, but never knew where to start. Now I atleast know how it would work with GitHub actions haha :).

Btw, does it also work with the access tokens if my npm account has 2FA active?

Collapse
 
sergiodxa profile image
Sergio Daniel Xalambrí

I had to disable 2FA and reenable it only for login, it was the only way I found to automate the publish, I'm pretty sure there should be a way to automate it with 2FA tho.