From 47757a0b697d3f4e4fadab69186ec4c4faf37e73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20Akg=C3=BCl?= <s86116@bht-berlin.de> Date: Sat, 8 Jul 2023 20:54:08 +0200 Subject: [PATCH] a --- .gitlab-ci.yml | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c871165..f1c67e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,34 +18,34 @@ image: node:20 stages: # List of stages for jobs, and their order of execution - - build - - test + # - build + # - test - deploy -build-job: # This job runs in the build stage, which runs first. - stage: build - script: - - echo "Building application..." - - npm install - - npx prisma generate - - npm run build - - echo "Application successfully built." +# build-job: # This job runs in the build stage, which runs first. +# stage: build +# script: +# - echo "Building application..." +# - npm install +# - npx prisma generate +# - npm run build +# - echo "Application successfully built." -unit-test-job: # This job runs in the test stage. - stage: test # It only starts when the job in the build stage completes successfully. - script: - - echo "Running unit tests..." - - npm install - - npm run test - - echo "Done testing." +# unit-test-job: # This job runs in the test stage. +# stage: test # It only starts when the job in the build stage completes successfully. +# script: +# - echo "Running unit tests..." +# - npm install +# - npm run test +# - echo "Done testing." -lint-test-job: # This job also runs in the test stage. - stage: test # It can run at the same time as unit-test-job (in parallel). - script: - - echo "Linting code... This will take about 10 seconds." - - npm install - - npm run lint - - echo "Done linting." +# lint-test-job: # This job also runs in the test stage. +# stage: test # It can run at the same time as unit-test-job (in parallel). +# script: +# - echo "Linting code... This will take about 10 seconds." +# - npm install +# - npm run lint +# - echo "Done linting." deploy-job: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. -- GitLab