Trying to publish with npm token 13

This commit is contained in:
Dessalines 2022-01-09 11:14:53 -05:00
parent 94ace4dc9c
commit e6742f721c

View file

@ -39,18 +39,12 @@ steps:
image: node:17-alpine image: node:17-alpine
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 - echo "registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- npm publish - npm publish
environment: environment:
NPM_TOKEN: NPM_TOKEN:
from_secret: npm_token from_secret: npm_token
NODE_AUTH_TOKEN:
from_secret: npm_token
USERNAME:
from_secret: npm_username
PASSWORD:
from_secret: npm_password
--- ---
kind: pipeline kind: pipeline