You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/test-all.yml
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -41,15 +41,6 @@ jobs:
41
41
- name: install Chrome stable
42
42
run: |
43
43
npx @puppeteer/browsers install chrome@stable
44
-
chromeVersionString=$(ls chrome)
45
-
if [ "$CHROME_VALIDATED_VERSION" != "$chromeVersionString" ]; then
46
-
echo "::warning ::The Chrome version doesn't match the previously validated version. Consider updating CHROME_VALIDATED_VERSION in the GitHub workflow if tests pass."
47
-
echo "::warning ::Previously validated version: ${CHROME_VALIDATED_VERSION} vs. Installed version: $chromeVersionString"
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"
CHROME_VERSION_MISMATCH_MESSAGE: "The Chrome version doesn't match the previously validated version. Consider updating CHROME_VALIDATED_VERSION in the GitHub workflow if tests pass."
28
27
# Bump Node memory limit
29
28
NODE_OPTIONS: "--max_old_space_size=4096"
30
29
31
30
jobs:
32
31
test-chrome:
33
32
name: Test Auth on Chrome and Node If Changed
34
33
runs-on: ubuntu-latest
35
-
36
34
steps:
37
35
# install Chrome first, so the correct version of webdriver can be installed by chromedriver
38
36
# when setting up the repo
39
37
#
40
38
# Note: we only need to check the chrome version change in one job as the warning annotation
41
39
# is appended to the entire workflow results, not just this job's results.
42
40
- name: install Chrome stable
41
+
env: env: CHROME_VERSION_MISMATCH_MESSAGE: "The Chrome version doesn't match the previously validated version. Consider updating CHROME_VALIDATED_VERSION in the GitHub workflow if tests pass."
43
42
run: |
44
43
npx @puppeteer/browsers install chrome@stable
45
44
chromeVersionString=$(ls chrome)
46
-
if [ "$CHROME_VALIDATED_VERSION" != "$chromeVersionString" ]; then
45
+
if [ "$CHROME_VALIDATED_VERSION" != "$chromeVersionString" ]; then
47
46
echo "::warning ::The Chrome version doesn't match the previously validated version. Consider updating CHROME_VALIDATED_VERSION in the GitHub workflow if tests pass."
48
47
echo "::warning ::Previously validated version: ${CHROME_VALIDATED_VERSION} vs. Installed version: $chromeVersionString"
0 commit comments