From c17014f99274339c8dda6b6f5fe70e05f9782704 Mon Sep 17 00:00:00 2001 From: Dominik Sigmund <dominik.sigmund@br.de> Date: Fri, 17 Apr 2020 11:10:25 +0200 Subject: [PATCH] Added publish stage --- .gitignore | 1 + .gitlab-ci.yml | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index 2771490..ebe1cc4 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 ce58add..94686a6 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 -- GitLab