Skip to content

Commit

Permalink
CI: Install Chrome v121 from GHP (#29003)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr authored Feb 13, 2025
1 parent f4625b1 commit 4b10736
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/actions/setup-chrome/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,17 @@ runs:
if [ -n "$CHROME_VERSION" ]; then
sudo apt-get update
sudo apt-get -y install libu2f-udev
curl -L "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${CHROME_VERSION}-1_amd64.deb" > /tmp/chrome.deb
sudo dpkg -i /tmp/chrome.deb
unlink /tmp/chrome.deb
mkdir google-chrome-setup
pushd google-chrome-setup
npm init -y
npm set //npm.pkg.github.com/:_authToken="${{ github.token }}"
npm i @devexpress/devextreme-google-chrome-image@1.0.0 --registry=https://npm.pkg.github.com
sudo dpkg -i node_modules/@devexpress/devextreme-google-chrome-image/google-chrome-stable_121.0.6167.184-1_amd64.deb
google-chrome-stable --version
popd
rm -rf google-chrome-setup
else
echo "Skip Chrome upgrade"
fi

0 comments on commit 4b10736

Please sign in to comment.