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

Try setting registry (#36)

parent 7e12eba6
No related branches found
No related tags found
No related merge requests found
Pipeline #14700 failed
...@@ -23,13 +23,14 @@ publish: ...@@ -23,13 +23,14 @@ publish:
- publish - publish
- master - master
script: script:
- echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
- echo '@dbp-toolkit:registry=https://registry.npmjs.org' >> .npmrc
# - echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > packages/auth/.npmrc # - echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > packages/auth/.npmrc
# - sudo npm install --global can-npm-publish # - sudo npm install --global can-npm-publish
# - yarn config set registry https://registry.npmjs.org/ # - yarn config set registry https://registry.npmjs.org/
- yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache" - yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache"
- yarn install - yarn install
- yarn logout; npm logout # - yarn logout; npm logout
- npm whoami - npm whoami
- yarn run build - yarn run build
- npm run publish - yarn run publish
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"scripts": { "scripts": {
"test": "lerna run test", "test": "lerna run test",
"build": "lerna run build", "build": "lerna run build",
"publish": "lerna publish from-package --yes --no-verify-access" "publish": "lerna publish from-package --yes"
}, },
"author": "", "author": "",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment