Skip to content

Commit 82618d3

Browse files
committed
add chrome install to test-auth job
1 parent 5b9ecab commit 82618d3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test-all.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,15 @@ jobs:
114114
runs-on: ubuntu-latest
115115
steps:
116116
- uses: actions/checkout@v4
117+
- name: install Chrome stable
118+
run: |
119+
npx @puppeteer/browsers install chrome@stable
120+
chromeVersionString=$(ls chrome)
121+
if [ "$CHROME_VALIDATED_VERSION" != "$chromeVersionString" ]; then
122+
echo "::warning ::The Chrome version doesn't match the previously validated version. Consider updating CHROME_VALIDATED_VERSION in the GitHub workflow if tests pass."
123+
echo "::warning ::Previously validated version: ${CHROME_VALIDATED_VERSION} vs. Installed version: $chromeVersionString"
124+
echo "CHROME_VERSION_NOTES=$CHROME_VERSION_MISMATCH_MESSAGE" >> "$GITHUB_ENV"
125+
fi
117126
- name: Test Env TEMP
118127
run: |
119128
echo $CHROME_VERSION_NOTES=$CHROME_VERSION_MISMATCH_MESSAGE

0 commit comments

Comments
 (0)