diff --git a/.gitignore b/.gitignore index 2771490a5027cf8dc13e4960802f749751bda663..ebe1cc403f7863facbece54fe856a1149f672bb7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ samples/file.log coverage/ stryker.log *.DS_Store +ho-copy diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ce58add837852dfaff30cba60291f8543c59092a..94686a68a04c5301ecf4acea820ac5d0e0d9b481 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,8 @@ include: variables: SONAR_PROJECT_KEY: argos-log SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8 + NPM_REGISTRY: https://npm.br-edv.brnet.int + NPM_TOKEN: 5w2Gy80rdH+2Tch0afNI6Q== cache: @@ -21,6 +23,7 @@ stages: - build - test - quality + - publish build: stage: build @@ -37,3 +40,9 @@ test: paths: - docs/test-report.html - docs/coverage/lcov.info + +publish: + stage: publish + script: + - npm config set strict-ssl false + - npm publish --verbose --registry $NPM_REGISTRY \ No newline at end of file