Trying to publish with npm token 21
This commit is contained in:
parent
1c7eb8a026
commit
b544470e77
1 changed files with 2 additions and 2 deletions
|
@ -42,8 +42,8 @@ steps:
|
||||||
# - npm config set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
|
# - npm config set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
|
||||||
# - echo "https://registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
|
# - echo "https://registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
|
||||||
# - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
|
# - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
|
||||||
echo "_auth = $NPM_AUTH_TOKEN" > ~/.npmrc
|
- echo "_auth = $NPM_AUTH_TOKEN" > ~/.npmrc
|
||||||
echo "email = $NPM_EMAIL" >> ~/.npmrc
|
- echo "email = $NPM_EMAIL" >> ~/.npmrc
|
||||||
- npm publish
|
- npm publish
|
||||||
environment:
|
environment:
|
||||||
NPM_AUTH_TOKEN:
|
NPM_AUTH_TOKEN:
|
||||||
|
|
Loading…
Reference in a new issue