From 18110b115b63d7ed4364fcf6e881597a09c13959 Mon Sep 17 00:00:00 2001
From: Dominik Sigmund <dominik.sigmund@br.de>
Date: Fri, 28 Feb 2020 13:17:06 +0100
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3257772..09deef3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,6 +21,7 @@ stages:
   - build
   - test
   - quality
+  - publish
 
 build:
   stage: build
@@ -36,4 +37,11 @@ test:
   artifacts:
     paths:
       - docs/test-report.html
-      - docs/coverage/lcov.info
\ No newline at end of file
+      - docs/coverage/lcov.info
+
+publish to local npm:
+  stage: publish
+  before_script:
+    - npm config set @br:registry https://it-devops-01:4873
+  script:
+    - npm publish
\ No newline at end of file
-- 
GitLab