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
No related branches found
No related tags found
No related merge requests found
Pipeline #12220 passed
...@@ -6,6 +6,5 @@ stages: ...@@ -6,6 +6,5 @@ stages:
test: test:
stage: test stage: test
script: script:
- npm install - yarn install
- npm run bootstrap - yarn run test
- npm run test
...@@ -14,8 +14,12 @@ RUN apt-get update && apt-get install -y \ ...@@ -14,8 +14,12 @@ RUN apt-get update && apt-get install -y \
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \ RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
&& rm -rf /var/lib/apt/lists/* && 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 \ RUN apt-get update && apt-get install -y \
nodejs \ nodejs \
yarn \
chromium \ chromium \
# libgbm1: newer chromium from puppeteer # libgbm1: newer chromium from puppeteer
libgbm1 \ libgbm1 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment