-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZO-4513: Install firefox dependencies
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,18 +85,20 @@ jobs: | |
- uses: actions/[email protected] # for jshint | ||
with: | ||
node-version: "20" | ||
- uses: browser-actions/[email protected] | ||
id: setup-firefox | ||
- name: setup geckodriver | ||
run: | | ||
curl -fsSL https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-linux64.tar.gz \ | ||
| tar -xzv geckodriver && sudo mv geckodriver /usr/local/bin/geckodriver | ||
- name: setup gcc # XXX for e.g. `pygraphviz` | ||
# firefox dependencies see https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/server/registry/nativeDeps.ts | ||
run: | | ||
export DEBIAN_FRONTEND=noninteractive | ||
sudo apt-get update | ||
sudo apt-get -y install --no-install-recommends \ | ||
libasound2 libatk1.0-0 libcairo-gobject2 libcairo2 libdbus-1-3 libdbus-glib-1-2 libfontconfig1 libfreetype6 libgdk-pixbuf-2.0-0 libglib2.0-0 libgtk-3-0 libpango-1.0-0 libpangocairo-1.0-0 libx11-6 libx11-xcb1 libxcb-shm0 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxtst6 \ | ||
build-essential graphviz-dev | ||
- uses: browser-actions/[email protected] | ||
id: setup-firefox | ||
- name: setup geckodriver | ||
run: | | ||
curl -fsSL https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckodriver-v0.34.0-linux64.tar.gz \ | ||
| tar -xzv geckodriver && sudo mv geckodriver /usr/local/bin/geckodriver | ||
- name: ./batou deploy local | ||
run: | | ||
|