From 88fb5749e5be1b769fe0de2b2c19f03f7d73c27c Mon Sep 17 00:00:00 2001 From: "Sigmund, Dominik" <dominik.sigmund@br.de> Date: Wed, 14 Feb 2024 13:59:48 +0000 Subject: [PATCH] Update file .gitlab-ci.yml --- .gitlab-ci.yml | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 25b462f..c6e659a 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,5 @@ image: node:latest -include: - - project: 'general/templates' - file: '/cicd/SAST-nodejs.gitlab-ci.yml' - - project: 'general/templates' - file: '/cicd/npm-audit.gitlab-ci.yml' - - project: 'general/templates' - file: '/cicd/sonarqube.gitlab-ci.yml' - -variables: - SONAR_PROJECT_KEY: metrics - SONAR_TOKEN: 11922a8e774494f51e1d2f0e695949e4073e7df8 - cache: paths: - node_modules/ @@ -26,19 +14,19 @@ stages: build: stage: build script: + - npm audit - npm install --legacy-peer-deps - npm run build -test: - stage: test - before_script: - - npm install -g jest - script: - - jest - artifacts: - paths: - - docs/test-report.html - - docs/coverage/lcov.info +#test: +# stage: test +# before_script: +# - npm install -g jest + # script: +# - jest +# artifacts: +# paths: +## - docs/coverage/lcov.info publish: stage: publish -- GitLab