chore(azure): node v4 compatible yarn (#5766)

Workaround for yarnpkg/yarn#6900
master
Ika 2019-01-18 21:40:35 +08:00 committed by GitHub
parent 8ac0a731a4
commit 72d9732f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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)