Skip to content

Commit 8d497f0

Browse files
committed
Switch to playwright nightly to fix FF on Debian 12
It appears when playwright officially added support for Debian 12 (microsoft/playwright#23532) they also started throwing an error when trying to run unsupported browsers on it (which Firefox was in the latest release). This broke our CI (even though Firefox ran just fine on Debian 12 for the past year). Here we simply switch to playwright nightly, which we'll just stick with for a while.
1 parent f5126f4 commit 8d497f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ jobs:
7171
apt-get install -y --no-install-recommends fonts-liberation libenchant-2-2 libicu72 libjpeg62-turbo libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcairo2 libcups2 libdbus-1-3 libdrm2 libegl1 libgbm1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxrandr2 libxshmfence1 xvfb fonts-noto-color-emoji fonts-unifont libfontconfig libfreetype6 xfonts-scalable fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf ffmpeg libcairo-gobject2 libdbus-glib-1-2 libfontconfig1 libgdk-pixbuf2.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libxcb-shm0 libxcursor1 libxi6 libxrender1 libxt6 gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good libepoxy0 libevdev2 libgl1 libgles2 libgstreamer-gl1.0-0 libgstreamer1.0-0 libharfbuzz-icu0 libharfbuzz0b libhyphen0 libnotify4 libopenjp2-7 libopus0 libpng16-16 libsecret-1-0 libsoup2.4-1 libwayland-client0 libwayland-egl1 libwayland-server0 libwebp7 libwebpdemux2 libwoff1 libxkbcommon0 libxml2 libxslt1.1
7272
mkdir -p $HOME/.cache/ms-playwright # `playwright install` is too dumb to create this for us
7373
chmod -R 777 $HOME/
74-
npm i -D playwright
75-
npx playwright install
74+
npm i -D playwright@1.37.0-alpha-jul-31-2023
75+
npx playwright@1.37.0-alpha-jul-31-2023 install
7676
- name: Build and Test TS Debug Bindings for Web
7777
run: |
7878
export HOME=/root/ # Github actions is apparently broken

0 commit comments

Comments
 (0)