aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
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