Skip to content

Commit

Permalink
feat: downgrade chromium version
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Nov 27, 2023
1 parent 6a2b0aa commit 63b27bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cypress-workflow-vanilla-snapshot-based.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,20 @@ jobs:
run: |
CHROMIUM_DIR="/usr/local/share/chromium"
CHROMIUM_BIN="${CHROMIUM_DIR}/chrome-linux/chrome"
## install Chromium on version 115, the version greater than 115 will hang under some cases
wget -q -O chromium.zip https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/Linux_x64%2F1148103%2Fchrome-linux.zip?alt=media
sudo rm -rf $CHROMIUM_DIR
sudo mkdir $CHROMIUM_DIR
## remove exist chromium installed by runner-image
sudo unzip -qq chromium.zip -d $CHROMIUM_DIR
sudo unlink /usr/bin/chromium
sudo unlink /usr/bin/chromium-browser
## add link to the installed Chromium
sudo ln -s $CHROMIUM_BIN /usr/local/bin/chromium
sudo ln -s $CHROMIUM_BIN /usr/local/bin/chromium-browser
rm chromium.zip
- name: Check versions
Expand Down

0 comments on commit 63b27bf

Please sign in to comment.