Trying to publish with npm token 18

This commit is contained in:
Dessalines 2022-01-09 11:25:57 -05:00
parent 0f941f634f
commit bf7fea5b22

View file

@ -41,7 +41,8 @@ steps:
- npm config set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
- echo "https://registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- npm publish --registry="https://registry.npmjs.org/:_authToken=$NPM_TOKEN"
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
- npm publish
environment:
NPM_TOKEN:
from_secret: npm_token