From 1a6c289b9aed2500fc68df68f149de5a1d594f86 Mon Sep 17 00:00:00 2001 From: Marco Zeisler Date: Wed, 12 May 2021 12:13:47 +0200 Subject: [PATCH] install chromium to fix chrome not starting issue; --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61b28c9..246c6cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,9 +86,19 @@ lint_fe: stage: test test_fe: - script: + before_script: - cd ./frontend - npm install + - apk add --no-cache \ + chromium \ + nss \ + freetype \ + freetype-dev \ + harfbuzz \ + ca-certificates \ + ttf-freefont + - export CHROME_BIN=/usr/bin/chromium-browser + script: - npm run -- ng test cache: key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR