Error while publishing to npm using github action
wahyunurarizky opened this issue · 2 comments
wahyunurarizky commented
can you help me? I got this error while publishing with github action
https://github.com/wahyunurarizky/seo-content-analyzer/actions/runs/5842417396/job/15847577691
thankyou
luizgribeiro commented
This probably means that you don't have a NPM access token with publish permission configured.
You need to create one (follow the docs) and after it configure a secret in you repository called NPM_TOKEN
with it.
apurvjha123 commented
just create .npmrc
and paste this //registry.npmjs.org/:_authToken=${NPM_TOKEN}