Skip to content
Snippets Groups Projects
Commit c175e0b1 authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files
parents 257b98d9 87f254a7
No related branches found
No related tags found
1 merge request!1Master
......@@ -11,10 +11,8 @@ include:
variables:
SONAR_PROJECT_KEY: config
SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8
NPM_USERNAME: git
NPM_PASSWORD: git
NPM_EMAIL: git@git.de
NPM_REGISTRY: https://it-devops-01:4873
NPM_REGISTRY: https://it-devops-01.br-edv.brnet.int:4873
NPM_TOKEN: ZMh1NzlklUTNNvt573Imgw==
cache:
paths:
......@@ -43,10 +41,11 @@ test:
- docs/test-report.html
- docs/coverage/lcov.info
publish to local npm:
publish:
stage: publish
before_script:
- npm install -g npm-cli-adduser
- npm-cli-adduser --registry $NPM_REGISTRY --username $NPM_USERNAME --password $NPM_PASSWORD --email $NPM_EMAIL
script:
- npm publish --registry $NPM_REGISTRY
\ No newline at end of file
- printenv NPM_TOKEN
- npm config set strict-ssl false
- npm config set //it-devops-01.br-edv.brnet.int:4873/:_authToken ${NPM_TOKEN}
- npm token list --registry $NPM_REGISTRY
- npm publish --verbose --registry $NPM_REGISTRY
.gitlab-ci.yml
\ No newline at end of file
......@@ -31,5 +31,8 @@
"html"
],
"coverageDirectory": "docs/coverage"
},
"publishConfig": {
"@br:registry":"https://it-devops-01:4873"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment