Trying to publish with npm token 12

This commit is contained in:
Dessalines 2022-01-09 11:13:35 -05:00
parent 63c73e6235
commit e291fac336

View file

@ -40,12 +40,17 @@ steps:
commands: commands:
- npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
- echo "registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc
- npm publish - npm publish
environment: environment:
NPM_TOKEN: NPM_TOKEN:
from_secret: npm_token from_secret: npm_token
NODE_AUTH_TOKEN: NODE_AUTH_TOKEN:
from_secret: npm_token from_secret: npm_token
USERNAME:
from_secret: npm_username
PASSWORD:
from_secret: npm_password
--- ---
kind: pipeline kind: pipeline