install chromium to fix chrome not starting issue;

This commit is contained in:
Marco Zeisler 2021-05-12 12:13:47 +02:00
parent 1229a73944
commit 1a6c289b9a

View File

@ -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