diff --git a/.circleci/config.yml b/.circleci/config.yml index 727ff611d0..673124bdc9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -623,6 +623,9 @@ jobs: git checkout --force origin/$CI_STABLE_BRANCH -- aio/ .yarn/ .yarnrc # Overwrite yarn again to use the version from the checked out branch. - overwrite_yarn + # Ignore yarn's engines check, because we checked out `aio/package.json` from the stable + # branch and there could be a node version skew, which is acceptable in this monitoring job. + - run: yarn config set ignore-engines true - run: name: Run tests against https://angular.io/ command: ./aio/scripts/test-production.sh https://angular.io/ $CI_AIO_MIN_PWA_SCORE diff --git a/aio/scripts/test-production.sh b/aio/scripts/test-production.sh index 24200c51c1..bd5b534680 100755 --- a/aio/scripts/test-production.sh +++ b/aio/scripts/test-production.sh @@ -12,9 +12,8 @@ set +x -eu -o pipefail cd "$aioDir" # Install dependencies. - # (Since this script may run on different branches (e.g. stable), ignore the engines check.) echo -e "\nInstalling dependencies in '$aioDir'...\n-----" - yarn install --frozen-lockfile --ignore-engines --non-interactive + yarn install --frozen-lockfile --non-interactive yarn update-webdriver # Run checks for target URL.