Skip to content
Snippets Groups Projects
Commit 8953d96d authored by Igor Markin's avatar Igor Markin
Browse files

Add authentication to NPM

parent 3bf22552
No related branches found
No related tags found
1 merge request!25Resolve "Upgrade light-utils and lib-mime"
Pipeline #42699 passed with stages
in 1 minute and 2 seconds
......@@ -8,10 +8,11 @@ stages:
install:
stage: install
tags:
tags:
- amd64-docker
script:
- apk add --no-cache git openssh
- npm config set '//registry.npmjs.org/:_authToken' $NPM_TOKEN
- git config --global url."https://gitlab-ci-token:$CI_JOB_TOKEN@code.vereign.com/".insteadOf "git@code.vereign.com:"
- echo '[http "https://code.vereign.com"]' >> $HOME/.gitconfig
- echo " sslVerify = false" >> $HOME/.gitconfig
......@@ -27,7 +28,7 @@ install:
test:
stage: test
tags:
tags:
- amd64-docker
dependencies:
- install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment