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: ...@@ -11,10 +11,8 @@ include:
variables: variables:
SONAR_PROJECT_KEY: config SONAR_PROJECT_KEY: config
SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8 SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8
NPM_USERNAME: git NPM_REGISTRY: https://it-devops-01.br-edv.brnet.int:4873
NPM_PASSWORD: git NPM_TOKEN: ZMh1NzlklUTNNvt573Imgw==
NPM_EMAIL: git@git.de
NPM_REGISTRY: https://it-devops-01:4873
cache: cache:
paths: paths:
...@@ -43,10 +41,11 @@ test: ...@@ -43,10 +41,11 @@ test:
- docs/test-report.html - docs/test-report.html
- docs/coverage/lcov.info - docs/coverage/lcov.info
publish to local npm: publish:
stage: 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: script:
- npm publish --registry $NPM_REGISTRY - printenv NPM_TOKEN
\ No newline at end of file - 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 @@ ...@@ -31,5 +31,8 @@
"html" "html"
], ],
"coverageDirectory": "docs/coverage" "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.
Finish editing this message first!
Please register or to comment