ci(docs-infra): ignore node version in `aio_monitoring_stable` CI job (#35004)

In #34955, we switched to Node.js v12 on master and 9.0.x. This causes
the `aio_monitoring_job` CI job (which checks out files from the stable
branch; currently 8.2.x) to start failing yarn's engines check (since
the 8.2.x branch expects Node.js version <11).
Example failure: https://circleci.com/gh/angular/angular/602499

Since the job is expected to run with files from both the stable and the
master branches (and since the version of Node.js is not important
here), this commit uses the `--ignore-engines` option to prevent
failures due to Node.js version mismatch.

NOTE:
Typically, the stable and master branch are on the same Node.js version,
because related PRs land on both master and the patch branch. One
exception is during RC periods, when the stable branch is different than
the patch branch. These periods are usually short, but in the case of
9.0.0 the period has lasted several months causing the CI environments
between master and the stable branch to get significantly out-of-sync.

PR Close #35004
This commit is contained in:
George Kalpakas 2020-01-28 15:32:03 +02:00 committed by Andrew Kushnir
parent dff4e1e19c
commit 98a6fb9192
1 changed files with 2 additions and 1 deletions

View File

@ -12,8 +12,9 @@ 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 --non-interactive
yarn install --frozen-lockfile --ignore-engines --non-interactive
yarn update-webdriver
# Run checks for target URL.