diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index d117c24015b..d3427f8c884 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 56fc4af1e9d..8d682655e26 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 20aa16293e0..a79b2f489e8 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -78,7 +78,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