From 5ad5d1a8036a5970dc19840b298346101ef4bd88 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Tue, 7 Jan 2025 08:05:53 -0800 Subject: [PATCH] Try built-in Playwright Chromium deps installation for Ubuntu --- .github/workflows/tests_primary.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml index 798db88b018c8..dd72a520880b8 100644 --- a/.github/workflows/tests_primary.yml +++ b/.github/workflows/tests_primary.yml @@ -215,10 +215,9 @@ jobs: - 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 + npx playwright install-deps chromium - run: npm install -g yarn@1 - run: npm install -g pnpm@8 - uses: ./.github/actions/run-test