mattpocock / pkg-demo

164 stars 37 forks source link

Error while publishing to npm using github action #7

Open wahyunurarizky opened 11 months ago

wahyunurarizky commented 11 months ago

can you help me? I got this error while publishing with github action image https://github.com/wahyunurarizky/seo-content-analyzer/actions/runs/5842417396/job/15847577691

thankyou

luizgribeiro commented 10 months ago

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 8 months ago

just create .npmrc and paste this //registry.npmjs.org/:_authToken=${NPM_TOKEN}