From ea394b6967091c65918161aeb955174498ad5f9d Mon Sep 17 00:00:00 2001 From: Kelly Selden Date: Tue, 3 Sep 2024 10:22:10 -0700 Subject: [PATCH] test --- .github/workflows/ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ba2f82e..f0931fd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,14 +89,9 @@ jobs: with: node-version: ${{ matrix.node }} - - if: ${{ matrix.os == 'ubuntu-latest' }} - run: echo "EDGEDRIVER_VERSION=128.0.2739.56" >> $GITHUB_ENV - - if: ${{ matrix.os == 'macos-latest' }} - run: echo "EDGEDRIVER_VERSION=128.0.2739.61" >> $GITHUB_ENV - - if: ${{ matrix.os == 'windows-latest' }} - run: echo "EDGEDRIVER_VERSION=128.0.2739.54" >> $GITHUB_ENV - - run: yarn install --frozen-lockfile + env: + EDGEDRIVER_VERSION: ${{ matrix.os == 'ubuntu-latest' && '128.0.2739.56' || matrix.os == 'macos-latest' && '128.0.2739.61' || '128.0.2739.54' }} - if: runner.os == 'Linux' # https://github.com/juliangruber/browser-run/issues/147#issue-495226343 run: Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &