diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5e08009ec17..c81275c518f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,6 +14,10 @@ jobs: versionSpec: 10.x displayName: 'Install Node.js' + - bash: | + npm install -g yarn@1.17.2 + displayName: "Install Yarn 1.17.2+" + - bash: | YARN_ENABLE_NETWORK=0 node ./scripts/run-yarn.js --frozen-lockfile displayName: "Check that the Yarn files don't change on new installs" diff --git a/scripts/azure-run-tests.yml b/scripts/azure-run-tests.yml index b7e5430cd40..2ea5b996b28 100644 --- a/scripts/azure-run-tests.yml +++ b/scripts/azure-run-tests.yml @@ -5,6 +5,10 @@ steps: versionSpec: $(node_version) displayName: 'Install Node.js' +- bash: | + npm install -g yarn@1.17.2 + displayName: "Install Yarn 1.17.2+" + - bash: | set -e node --version