Skip to content
Snippets Groups Projects
Unverified Commit 93ae7572 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Add note about NPM_TOKEN (#36)

parent fe8a334a
No related branches found
No related tags found
No related merge requests found
Pipeline #14843 passed
......@@ -23,6 +23,9 @@ publish:
- publish
- master
script:
# https://www.npmjs.com/settings/dbp-deploy/tokens
# NPM_TOKEN needs to be a "Publish" token with 2FA disabled!
# "Automation" tokens don't work with lerna (even if they would work with "npm publish")
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/.npmrc
- yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache"
- yarn install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment