Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
updated puppeteer configuration in circleci script
Browse files Browse the repository at this point in the history
  • Loading branch information
mrrossmullen committed Feb 3, 2021
1 parent e6ae5f6 commit 44fee1c
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .circleci/config.yml
@@ -1,6 +1,8 @@
# Node CircleCI 2.0 configuration file to DTA cloud 2.0

version: 2
version: 2.1
orbs:
puppeteer: threetreeslight/puppeteer@0.1.2
jobs:

# DEPLOY-STAGING JOB
Expand All @@ -15,9 +17,23 @@ jobs:
keys:
- v1-node-cache-{{ checksum "package.json" }}
- run:
command: >
sudo apt-get update
- run:
# https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
name: Install packages for puppeteer
command: sudo apt install -yq --no-install-recommends gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdbus-1-3 libgconf-2-4 libgtk-3-0 libnspr4 libxcomposite1 libxcursor1 libxi6 libxrandr2 libxss1 libxtst6 fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils
command: >
sudo apt-get install -yq --no-install-recommends
gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0
libcups2 libdbus-1-3
libgconf-2-4 libgtk-3-0 libnspr4
libxcomposite1 libxcursor1
libxi6 libxrandr2 libxss1 libxtst6
fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
# command: sudo apt install -yq --no-install-recommends
# gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdbus-1-3
# libgconf-2-4 libgtk-3-0 libnspr4 libxcomposite1 libxcursor1 libxi6 libxrandr2 l
# ibxss1 libxtst6 fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils
- run:
name: Install dependencies
command: npm install # duh
Expand Down

0 comments on commit 44fee1c

Please sign in to comment.