From 70101b8d9ba6b779460941b988b4ff75ecce189e Mon Sep 17 00:00:00 2001 From: Leon Hoppe Date: Wed, 26 Feb 2025 19:19:55 +0100 Subject: [PATCH] Updated pipeline --- .gitlab-ci.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6a42ad..f3f8851 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,6 @@ image: node:lts-alpine stages: - install - lint - - test - build install: @@ -30,35 +29,9 @@ lint: - node_modules policy: pull -test: - stage: test - needs: ["install"] - before_script: - # Download Chrome - - apk add chromium - - export CHROME_BIN=/usr/bin/chromium-browser - - export CHROME_PATH=/usr/lib/chromium/ - # Download Firefox - - apk add firefox-esr - - export FIREFOX_BIN=/usr/bin/firefox - - export FIREFOX_PATH=/usr/lib/firefox/ - # X Server - - apk add xvfb - - export DISPLAY=:99 - - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - script: - - npm run test -- --browsers=Headless_Chrome --no-watch - cache: - key: - files: - - package.json - paths: - - node_modules - policy: pull - build: stage: build - needs: ["test", "lint"] + needs: ["lint"] script: - npm run build artifacts: