From ec0814657aaae81fb10a96f51c5463420c78f70d Mon Sep 17 00:00:00 2001 From: Christina Holland Date: Wed, 11 Dec 2024 09:10:40 -0800 Subject: [PATCH] Use puppeteer for all Firefox installs --- .github/workflows/test-changed-auth.yml | 4 +--- .github/workflows/test-changed-firestore.yml | 9 +++------ .github/workflows/test-changed.yml | 6 ++---- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test-changed-auth.yml b/.github/workflows/test-changed-auth.yml index 57f1139db93..e88ce3b7a52 100644 --- a/.github/workflows/test-changed-auth.yml +++ b/.github/workflows/test-changed-auth.yml @@ -75,9 +75,7 @@ jobs: steps: - name: install Firefox stable - run: | - npx @puppeteer/browsers install firefox@stable - + run: npx @puppeteer/browsers install firefox@stable - name: Checkout Repo uses: actions/checkout@v4 with: diff --git a/.github/workflows/test-changed-firestore.yml b/.github/workflows/test-changed-firestore.yml index 57c58646821..259e9164d7f 100644 --- a/.github/workflows/test-changed-firestore.yml +++ b/.github/workflows/test-changed-firestore.yml @@ -174,8 +174,7 @@ jobs: if: ${{ needs.build.outputs.changed == 'true'}} steps: - name: install Firefox stable - run: | - npx @puppeteer/browsers install firefox@stable + run: npx @puppeteer/browsers install firefox@stable - name: Set up Node (20) uses: actions/setup-node@v3 with: @@ -202,10 +201,8 @@ jobs: needs: build if: ${{ needs.build.outputs.changed == 'true'}} steps: - # - name: install Firefox stable - # run: | - # sudo apt-get update - # sudo apt-get install firefox + - name: install Firefox stable + run: npx @puppeteer/browsers install firefox@stable - name: Download build archive uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/test-changed.yml b/.github/workflows/test-changed.yml index 2e8a70429d4..7dc0ef60a37 100644 --- a/.github/workflows/test-changed.yml +++ b/.github/workflows/test-changed.yml @@ -61,10 +61,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: 22.10.0 - # - name: install Firefox stable - # run: | - # sudo apt-get update - # sudo apt-get install firefox + - name: install Firefox stable + run: npx @puppeteer/browsers install firefox@stable - name: Test setup and yarn install run: | cp config/ci.config.json config/project.json