Skip to content
Snippets Groups Projects
Commit 0832b1e8 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Add yarn to the docker image and use yarn in CI

parent 87603fc6
Branches
No related tags found
No related merge requests found
Pipeline #12220 passed
......@@ -6,6 +6,5 @@ stages:
test:
stage: test
script:
- npm install
- npm run bootstrap
- npm run test
- yarn install
- yarn run test
......@@ -14,8 +14,12 @@ RUN apt-get update && apt-get install -y \
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
RUN apt-get update && apt-get install -y \
nodejs \
yarn \
chromium \
# libgbm1: newer chromium from puppeteer
libgbm1 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment