install chromium to fix chrome not starting issue;
This commit is contained in:
parent
1229a73944
commit
1a6c289b9a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user