Skip to content

Commit

Permalink
chore: fix puppeteer error
Browse files Browse the repository at this point in the history
  • Loading branch information
candicecz committed Oct 14, 2024
1 parent 48ac2c8 commit 76ee0a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ jobs:
env:
GH_API_KEY: ${{ secrets.GH_API_KEY }}
GITHUB_BRANCH: ${{ github.ref_name }}
- name: install puppeteer libraries
run: |
sudo apt-get update
apt-get install chromium-browser
sudo apt-get install libgbm1 gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- name: install additional packages for tests
run: yarn add puppeteer@19.11.1 axios jest
run: yarn add puppeteer@23.5.3 axios jest
- name: start react app
run: yarn serve &
env:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/deploy_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ jobs:
env:
GH_API_KEY: ${{ secrets.GH_API_KEY }}
GITHUB_BRANCH: ${{ github.ref_name }}
- name: install puppeteer libraries
run: |
sudo apt-get update
apt-get install chromium-browser
sudo apt-get install libgbm1 gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- name: install additional packages for tests
run: yarn add [email protected] axios jest
- name: start react app
Expand Down

0 comments on commit 76ee0a0

Please sign in to comment.