diff --git a/.github/actions/testSetup/action.yml b/.github/actions/testSetup/action.yml index e675f9cf67..3a56663c5c 100644 --- a/.github/actions/testSetup/action.yml +++ b/.github/actions/testSetup/action.yml @@ -29,9 +29,8 @@ runs: # start xvfb in the background sudo /usr/bin/Xvfb $DISPLAY -screen 0 1280x1024x24 & - name: Install chrome - uses: browser-actions/setup-chrome@latest - with: - chrome-version: 'stable' + shell: 'bash' + run: npx @puppeteer/browsers install chrome@stable - name: Install Anvil uses: foundry-rs/foundry-toolchain@v1 with: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a16816d700..f407b6cbd1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,7 +83,7 @@ jobs: run: | export BROWSER=chrome export OS=linux - export CHROMIUM_BIN=$(which chrome) + export CHROMIUM_BIN=$(find chrome -type f -name 'chrome') yarn vitest:parallel --retry=5 chrome-e2e-swap: runs-on: beefy-runner-bx @@ -105,7 +105,7 @@ jobs: command: | export BROWSER=chrome export OS=linux - export CHROMIUM_BIN=$(which chrome) + export CHROMIUM_BIN=$(find chrome -type f -name 'chrome') yarn vitest:swap chrome-e2e-send: runs-on: beefy-runner-bx @@ -123,7 +123,7 @@ jobs: run: | export BROWSER=chrome export OS=linux - export CHROMIUM_BIN=$(which chrome) + export CHROMIUM_BIN=$(find chrome -type f -name 'chrome') yarn vitest:send --retry=5 chrome-e2e-dappInteractions: runs-on: beefy-runner-bx @@ -141,7 +141,7 @@ jobs: run: | export BROWSER=chrome export OS=linux - export CHROMIUM_BIN=$(which chrome) + export CHROMIUM_BIN=$(find chrome -type f -name 'chrome') yarn vitest:dappInteractions --retry=5 # BRAVE TESTS # brave-e2e: