Skip to content

Commit

Permalink
fix(ci): fix windows tests (#1948)
Browse files Browse the repository at this point in the history
There's a yarn issue where the latest version of yarn for windows is not being published. But yarn is being installed as a dependency already so this extra installation step is unnecessary.
  • Loading branch information
tevanoff committed Feb 28, 2022
1 parent 8e1aaae commit 5291c48
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,19 +94,6 @@ jobs:
size: xlarge
steps:
- checkout
- run:
name: Install latest yarn
command: |
(New-Object Net.WebClient).DownloadFile("https://yarnpkg.com/latest.msi", "$env:temp\yarn.msi")
cmd /c start /wait msiexec.exe /i $env:temp\yarn.msi /quiet /qn /norestart /log install.log
- run:
name: Verify yarn installation
command: |
if (!(Test-Path -Path "C:\Program Files (x86)\Yarn\bin\yarn" -PathType Leaf)) {
Write-Host "> Installation failed." -ForegroundColor Red
Write-Host "" -ForegroundColor Red
exit 1
}
- restore_cache:
keys:
- node-modules-v1-win-{{ checksum "yarn.lock" }}
Expand Down

0 comments on commit 5291c48

Please sign in to comment.