-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lock Chrome version until ChromeDriver's release pipeline is fixed (#…
…6630) (#6634) (cherry picked from commit a5551b9) Signed-off-by: Miki <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
0f7267f
commit 08770f4
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -197,6 +197,28 @@ jobs: | |
restore-keys: | | ||
yarn- | ||
# Lock Chrome version until ChromeDriver's release pipeline is fixed | ||
- name: Download Chrome | ||
id: download-chrome | ||
uses: abhi1693/[email protected] | ||
with: | ||
browser: chrome | ||
# v122 | ||
version: 1250586 | ||
|
||
- name: Setup Chrome (Linux) | ||
if: matrix.os != 'windows-latest' | ||
run: | | ||
sudo rm -rf /usr/bin/google-chrome /opt/google/chrome | ||
sudo ln -s ${{steps.download-chrome.outputs.path}}/${{steps.download-chrome.outputs.binary}} /usr/bin/google-chrome | ||
- name: Setup Chrome (Windows) | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
New-Item -Force -Type Directory "$Env:Programfiles/Google/Chrome/Application" | ||
Remove-Item -Recurse -Force "$Env:Programfiles/Google/Chrome/Application/*" | ||
Copy-Item -Force -Recurse "${{steps.download-chrome.outputs.path}}/*" "$Env:Programfiles/Google/Chrome/Application" | ||
- name: Setup chromedriver | ||
run: node scripts/upgrade_chromedriver.js | ||
|
||
|
@@ -291,6 +313,28 @@ jobs: | |
restore-keys: | | ||
yarn- | ||
# Lock Chrome version until ChromeDriver's release pipeline is fixed | ||
- name: Download Chrome | ||
id: download-chrome | ||
uses: abhi1693/[email protected] | ||
with: | ||
browser: chrome | ||
# v122 | ||
version: 1250586 | ||
|
||
- name: Setup Chrome (Linux) | ||
if: matrix.os != 'windows-latest' | ||
run: | | ||
sudo rm -rf /usr/bin/google-chrome /opt/google/chrome | ||
sudo ln -s ${{steps.download-chrome.outputs.path}}/${{steps.download-chrome.outputs.binary}} /usr/bin/google-chrome | ||
- name: Setup Chrome (Windows) | ||
if: matrix.os == 'windows-latest' | ||
run: | | ||
New-Item -Force -Type Directory "$Env:Programfiles/Google/Chrome/Application" | ||
Remove-Item -Recurse -Force "$Env:Programfiles/Google/Chrome/Application/*" | ||
Copy-Item -Force -Recurse "${{steps.download-chrome.outputs.path}}/*" "$Env:Programfiles/Google/Chrome/Application" | ||
- name: Setup chromedriver | ||
run: node scripts/upgrade_chromedriver.js | ||
|
||
|