Update yarn version in CI, resolve dependency conflict

This commit is contained in:
Scott Nonnenberg 2019-07-16 15:39:18 -07:00
parent de78d42ad5
commit e475d99be3
5 changed files with 19 additions and 0 deletions

12
build/install-yarn.ps1 Normal file
View file

@ -0,0 +1,12 @@
# via https://gist.github.com/FeodorFitsner/1056703ec92bd6a3012c15fe78a5e162
Write-Host "Installing Yarn..." -ForegroundColor Cyan
Write-Host "Downloading..."
$msiPath = "$env:TEMP\yarn.msi"
(New-Object Net.WebClient).DownloadFile('https://github.com/yarnpkg/yarn/releases/download/v1.17.3/yarn-1.17.3.msi', $msiPath)
Write-Host "Installing..."
cmd /c start /wait msiexec /i "$msiPath" /quiet
Write-Host "Yarn installed" -ForegroundColor Green