Update yarn version in CI, resolve dependency conflict
This commit is contained in:
parent
de78d42ad5
commit
e475d99be3
5 changed files with 19 additions and 0 deletions
12
build/install-yarn.ps1
Normal file
12
build/install-yarn.ps1
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue