diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd65898a8eced2250746647c5e07245da1bc4cf9..0233e91ddc5ed51dd3e2c6196f6cce736406bbf0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,13 +23,14 @@ publish: - publish - master 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 # - sudo npm install --global can-npm-publish # - yarn config set registry https://registry.npmjs.org/ - yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache" - yarn install - - yarn logout; npm logout +# - yarn logout; npm logout - npm whoami - yarn run build - - npm run publish + - yarn run publish diff --git a/package.json b/package.json index 4257146a48a0bae1a1703e64a25de4ea85bafbad..45f7a0360f25116d1ee38dee3e0784eec37187b6 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "scripts": { "test": "lerna run test", "build": "lerna run build", - "publish": "lerna publish from-package --yes --no-verify-access" + "publish": "lerna publish from-package --yes" }, "author": "", "license": "LGPL-2.1-or-later",