From 90cfb6112158886e91f893d9ed41fcf5ee53d688 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 15 Feb 2017 00:34:05 +0000 Subject: [PATCH] Use Yarn latest in e2e (#1534) * Use Yarn latest in e2e * Here too * And here plz --- tasks/e2e-installs.sh | 2 +- tasks/e2e-kitchensink.sh | 2 +- tasks/e2e-simple.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index 6b39c331892..73a5e68b983 100755 --- a/tasks/e2e-installs.sh +++ b/tasks/e2e-installs.sh @@ -68,7 +68,7 @@ npm install if [ "$USE_YARN" = "yes" ] then # Install Yarn so that the test can use it to install packages. - npm install -g yarn@0.17.10 # TODO: remove version when https://github.com/yarnpkg/yarn/issues/2142 is fixed. + npm install -g yarn yarn cache clean fi diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index f48ef8e3ab3..4f1f164a5eb 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -68,7 +68,7 @@ npm install if [ "$USE_YARN" = "yes" ] then # Install Yarn so that the test can use it to install packages. - npm install -g yarn@0.17.10 # TODO: remove version when https://github.com/yarnpkg/yarn/issues/2142 is fixed. + npm install -g yarn yarn cache clean fi diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index 922998debb2..b5cc1a426e2 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -78,7 +78,7 @@ fi if [ "$USE_YARN" = "yes" ] then # Install Yarn so that the test can use it to install packages. - npm install -g yarn@0.17.10 # TODO: remove version when https://github.com/yarnpkg/yarn/issues/2142 is fixed. + npm install -g yarn yarn cache clean fi