From 7d84ff8e8e0d69ae368868e6cf0a723e146f1802 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Fri, 14 Feb 2020 17:02:50 +0400 Subject: fix(gitlab): Config npmrc Signed-off-by: Valentin Popov --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c654aef..6c8df84 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,4 +15,5 @@ job-publish: script: - yarn install - yarn run build - - NPM_TOKEN=$(printenv TOKEN) npm publish + - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc + - npm publish -- cgit v1.2.3