summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 16:02:50 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 16:02:50 +0300
commit7d84ff8e8e0d69ae368868e6cf0a723e146f1802 (patch)
tree835c8c8721f7e20abf3c0295130aae4a0c8f526d
parent385c4f57ed74d915bfd3a013a42726185aaf09d3 (diff)
downloadeslint-config-7d84ff8e8e0d69ae368868e6cf0a723e146f1802.tar.xz
eslint-config-7d84ff8e8e0d69ae368868e6cf0a723e146f1802.zip
fix(gitlab): Config npmrcv0.0.4
Signed-off-by: Valentin Popov <info@valentineus.link>
-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