Revert the chromium-only install-deps: Electron needs the full dep set. (#109)
This commit is contained in:
@@ -60,10 +60,13 @@ jobs:
|
|||||||
working-directory: ./cinny
|
working-directory: ./cinny
|
||||||
run: npm ci --prefer-offline
|
run: npm ci --prefer-offline
|
||||||
|
|
||||||
# Electron needs system libraries the runner image does not ship. Chromium only:
|
# Electron needs system libraries the runner image does not ship. Do not narrow this to
|
||||||
# Electron uses the Chromium codebase, so firefox and webkit deps are not needed.
|
# chromium: Playwright's chromium dep set covers its own bundled browser, not Electron,
|
||||||
|
# and drops libgtk-3-0t64, libegl1, libegl-mesa0, libgles2, libsecret-1-0, libxtst6 and
|
||||||
|
# libxss1, which Electron needs to launch. Run 930 failed with "Process failed to launch!"
|
||||||
|
# on the narrowed set.
|
||||||
- name: Install system libraries for Electron
|
- name: Install system libraries for Electron
|
||||||
run: npx playwright install-deps chromium
|
run: npx playwright install-deps
|
||||||
|
|
||||||
# The runner image has no xvfb and no fresh apt lists.
|
# The runner image has no xvfb and no fresh apt lists.
|
||||||
- name: Ensure a display for Electron
|
- name: Ensure a display for Electron
|
||||||
|
|||||||
Reference in New Issue
Block a user