From c0a23b004abc9bb1caa77794a36d73b38e639070 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Tue, 1 Dec 2020 12:44:25 +0100 Subject: [PATCH] Try to use .npmrc (#36) --- .gitlab-ci.yml | 3 +-- packages/app-shell/.npmrc | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 packages/app-shell/.npmrc diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 37e25843..85365989 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,6 @@ publish: # - publish script: - 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 - - npm run publish + - yarn run publish diff --git a/packages/app-shell/.npmrc b/packages/app-shell/.npmrc new file mode 100644 index 00000000..bd3327ab --- /dev/null +++ b/packages/app-shell/.npmrc @@ -0,0 +1 @@ +//registry.npmjs.org/:_authToken=${NPM_TOKEN} \ No newline at end of file -- GitLab