From 72d9732f1de3dbd3a1bc5c98a1940f45a391cffd Mon Sep 17 00:00:00 2001 From: Ika Date: Fri, 18 Jan 2019 21:40:35 +0800 Subject: [PATCH] chore(azure): node v4 compatible yarn (#5766) Workaround for yarnpkg/yarn#6900 --- .azure-pipelines/steps/install-nodejs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.azure-pipelines/steps/install-nodejs.yml b/.azure-pipelines/steps/install-nodejs.yml index b431abaa..2f62abd4 100644 --- a/.azure-pipelines/steps/install-nodejs.yml +++ b/.azure-pipelines/steps/install-nodejs.yml @@ -3,3 +3,8 @@ steps: inputs: versionSpec: "$(node_version)" displayName: "Install Node.js" + + # workaround for https://github.com/yarnpkg/yarn/issues/6900 + - script: npm install -g yarn@1.12.3 + displayName: "Install Node v4 compatible Yarn" + condition: eq(variables.node_version, 4)