From 7faa0ec3644351a9886bde700206c2088f02e589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Nison?= Date: Fri, 21 Jun 2019 14:26:50 +0200 Subject: [PATCH] Fixes the yarn binary used for CI --- azure-pipelines.yml | 4 ++++ scripts/azure-run-tests.yml | 4 ++++ 2 files changed, 8 insertions(+) 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