File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,10 @@ root_path=$PWD
8686# Clear cache to avoid issues with incorrect packages being used
8787if hash yarnpkg 2> /dev/null
8888then
89- yarn cache clean
89+ # AppVeyor uses old version on yarn.
90+ # Once updated to 0.24.3 or above install can be removed.
91+ npm install -g yarn@latest
92+ yarnpkg cache clean
9093fi
9194
9295if hash npm 2> /dev/null
Original file line number Diff line number Diff line change @@ -69,7 +69,10 @@ root_path=$PWD
6969# Clear cache to avoid issues with incorrect packages being used
7070if hash yarnpkg 2> /dev/null
7171then
72- yarn cache clean
72+ # AppVeyor uses old version on yarn.
73+ # Once updated to 0.24.3 or above install can be removed.
74+ npm install -g yarn@latest
75+ yarnpkg cache clean
7376fi
7477
7578if hash npm 2> /dev/null
Original file line number Diff line number Diff line change @@ -68,7 +68,10 @@ root_path=$PWD
6868# Clear cache to avoid issues with incorrect packages being used
6969if hash yarnpkg 2> /dev/null
7070then
71- yarn cache clean
71+ # AppVeyor uses old version on yarn.
72+ # Once updated to 0.24.3 or above install can be removed.
73+ npm install -g yarn@latest
74+ yarnpkg cache clean
7275fi
7376
7477if hash npm 2> /dev/null
You can’t perform that action at this time.
0 commit comments