Install latest yarn with install script

Avoids dpkg lock flakes
This commit is contained in:
Daniel Imms
2018-09-10 23:49:52 -07:00
committed by GitHub
parent dade9ba050
commit 5d37a17383
+1 -2
View File
@@ -13,8 +13,7 @@ jobs:
versionSpec: '8.x'
displayName: 'Install Node.js'
- script: |
curl -sLO https://github.com/yarnpkg/yarn/releases/download/v1.10.0/yarn_1.10.0_all.deb
sudo dpkg -i yarn_1.10.0_all.deb
curl -o- -L https://yarnpkg.com/install.sh | bash
displayName: 'Install yarn'
- script: |
yarn