Skip to content

Commit c5035de

Browse files
committed
ci: Pin Chrome to v154
1 parent afeb782 commit c5035de

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

‎.github/actions/setup-image-env/action.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,23 @@ inputs:
88
uv-version:
99
description: 'uv version to use'
1010
default: '0.11.2'
11+
chrome-version:
12+
description: 'Chrome version for Kaleido. The baselines depend on this version.'
13+
default: '154.0.8037.92'
1114

1215
runs:
1316
using: 'composite'
1417
steps:
18+
# Pin Chrome so a runner image update does not change the rendered baselines
19+
- uses: ./.github/actions/setup-chrome
20+
with:
21+
chrome-version: ${{ inputs.chrome-version }}
22+
23+
# Kaleido uses the Chrome at BROWSER_PATH instead of the Chrome of the runner
24+
- name: Point Kaleido at the pinned Chrome
25+
run: echo "BROWSER_PATH=$CHROME_BIN" >> $GITHUB_ENV
26+
shell: bash
27+
1528
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
1629
with:
1730
python-version: ${{ inputs.python-version }}

0 commit comments

Comments
 (0)