From 112e23c2458ad4758454db9bb777139c7a5b28e0 Mon Sep 17 00:00:00 2001 From: Michal Zalecki Date: Wed, 14 Aug 2019 11:03:18 +0200 Subject: [PATCH] Setup Chrome --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5e3fbbf..0633f05 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,6 +28,16 @@ jobs: name: Run tests command: npm run test + - run: + name: Setup Chrome + command: | + && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - \ + && sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ + && sudo apt-get update \ + && sudo apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont \ + --no-install-recommends \ + && sudo rm -rf /var/lib/apt/lists/* + - run: name: Run codechecks command: npx codechecks