fix(gitlab): Config npmrc

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-14 17:02:50 +04:00
parent 385c4f57ed
commit 7d84ff8e8e

View File

@ -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