From a23a31ac9ec36e2d641c90dc84a9cbbc8bd0557f Mon Sep 17 00:00:00 2001
From: Eduard Frankford <e.frankford@student.uibk.ac.at>
Date: Tue, 28 Jun 2022 18:01:14 +0200
Subject: [PATCH] testing

---
 .gitlab-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b69adb4ec..74637a322 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -124,12 +124,12 @@ docker-push:
     REGISTRY_URL: sharing-codeability.uibk.ac.at:5051
     IMAGE_TAG: sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform
   script:
-    - npm install
-    - ./mvnw package -Pprod -Dskip.installnodenpm verify -DskipTests jib:build -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token  -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME
+    - ./mvnw package -Pprod verify -DskipTests jib:build -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token  -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME
   when: on_success
   before_script:
-    - shopt -s dotglob
-
+    - export NG_CLI_ANALYTICS="false"
+    - export MAVEN_USER_HOME=`pwd`/.maven
+    - npm ci --cache .npm --prefer-offline
 # deploy:
 #   stage: deploy
 #   cache: []
-- 
GitLab