Add npm credentials to ci script

Signed-off-by: default avatarSnorre Magnus Davøen <snorre.davoen@nsd.uib.no>
parent 27f2fed3
Pipeline #5095 failed with stage
in 10 seconds
...@@ -6,5 +6,8 @@ test: ...@@ -6,5 +6,8 @@ test:
stage: test stage: test
image: node:7-alpine image: node:7-alpine
script: script:
- echo $NEXUS_NPM_TOKEN > ~/.npmrc
- echo 'always-auth=true' >> ~/.npmrc
- npm set registry https://nexus.nsd.no/repository/npm-group/
- yarn install - yarn install
- yarn run dtslint - yarn run dtslint
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment