File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,10 @@ root_path=$PWD
86
86
# Clear cache to avoid issues with incorrect packages being used
87
87
if hash yarnpkg 2> /dev/null
88
88
then
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
90
93
fi
91
94
92
95
if hash npm 2> /dev/null
Original file line number Diff line number Diff line change @@ -69,7 +69,10 @@ root_path=$PWD
69
69
# Clear cache to avoid issues with incorrect packages being used
70
70
if hash yarnpkg 2> /dev/null
71
71
then
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
73
76
fi
74
77
75
78
if hash npm 2> /dev/null
Original file line number Diff line number Diff line change @@ -68,7 +68,10 @@ root_path=$PWD
68
68
# Clear cache to avoid issues with incorrect packages being used
69
69
if hash yarnpkg 2> /dev/null
70
70
then
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
72
75
fi
73
76
74
77
if hash npm 2> /dev/null
You can’t perform that action at this time.
0 commit comments