Skip to content

Commit

Permalink
Install latest yarn on AppVeyor to avoid windows crashing bug in yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-savage committed May 29, 2017
1 parent 03a1f0b commit 8928aa5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion tasks/e2e-installs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ root_path=$PWD
# Clear cache to avoid issues with incorrect packages being used
if hash yarnpkg 2>/dev/null
then
yarn cache clean
# AppVeyor uses old version on yarn.
# Once updated to 0.24.3 or above install can be removed.
npm install -g yarn@latest
yarnpkg cache clean
fi

if hash npm 2>/dev/null
Expand Down
5 changes: 4 additions & 1 deletion tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ root_path=$PWD
# Clear cache to avoid issues with incorrect packages being used
if hash yarnpkg 2>/dev/null
then
yarn cache clean
# AppVeyor uses old version on yarn.
# Once updated to 0.24.3 or above install can be removed.
npm install -g yarn@latest
yarnpkg cache clean
fi

if hash npm 2>/dev/null
Expand Down
5 changes: 4 additions & 1 deletion tasks/e2e-simple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ root_path=$PWD
# Clear cache to avoid issues with incorrect packages being used
if hash yarnpkg 2>/dev/null
then
yarn cache clean
# AppVeyor uses old version on yarn.
# Once updated to 0.24.3 or above install can be removed.
npm install -g yarn@latest
yarnpkg cache clean
fi

if hash npm 2>/dev/null
Expand Down

0 comments on commit 8928aa5

Please sign in to comment.