fix: Prepare CI to properly run Electron on ubuntu-latest (24.04)

This commit is contained in:
Adam Gastineau 2025-01-07 07:43:48 -08:00
parent eeca68ba97
commit 68c7499086

View file

@ -213,6 +213,12 @@ jobs:
contents: read # This is required for actions/checkout to succeed
steps:
- uses: actions/checkout@v4
- name: Setup Ubuntu
if: ${{ runner.os == 'Linux' }}
# Install dependencies necessary for running Electron on newer Ubuntu images
run: |
sudo apt-get update
sudo apt-get install -y libatk1.0-0 libatk-bridge2.0-0 libcups2 libgtk-3-0 libgbm-dev libasound2t64
- run: npm install -g yarn@1
- run: npm install -g pnpm@8
- uses: ./.github/actions/run-test