From c8d3ac94471d50cc0dd11900e1fd030f012e1102 Mon Sep 17 00:00:00 2001 From: Ade Viankakrisna Fadlil Date: Tue, 12 Sep 2017 00:48:38 +0700 Subject: [PATCH] Revert "run npm 5.4.0 in CI (#3026)" This reverts commit fcb6dc55578e089e9f62f6e6c12cb9b60a57fee5. --- tasks/e2e-installs.sh | 6 +++--- tasks/e2e-kitchensink.sh | 6 +++--- tasks/e2e-simple.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index ebff7d13a7b..58864263247 100755 --- a/tasks/e2e-installs.sh +++ b/tasks/e2e-installs.sh @@ -95,11 +95,11 @@ fi if hash npm 2>/dev/null then - # npm 5.0-5.4.0 is too buggy + # npm 5 is too buggy right now if [ $(npm -v | head -c 1) -eq 5 ]; then - npm i -g npm@^5.4.1 + npm i -g npm@^4.x fi; - npm cache clean --force || npm cache verify + npm cache clean || npm cache verify fi # Prevent bootstrap, we only want top-level dependencies diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index 10bdc077931..ebbac271e6e 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -87,11 +87,11 @@ fi if hash npm 2>/dev/null then - # npm 5.0-5.4.0 is too buggy + # npm 5 is too buggy right now if [ $(npm -v | head -c 1) -eq 5 ]; then - npm i -g npm@^5.4.1 + npm i -g npm@^4.x fi; - npm cache clean --force || npm cache verify + npm cache clean || npm cache verify fi # Prevent bootstrap, we only want top-level dependencies diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index 84d095e9496..48d705eef4c 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -86,11 +86,11 @@ fi if hash npm 2>/dev/null then - # npm 5.0-5.4.0 is too buggy + # npm 5 is too buggy right now if [ $(npm -v | head -c 1) -eq 5 ]; then - npm i -g npm@^5.4.1 + npm i -g npm@^4.x fi; - npm cache clean --force || npm cache verify + npm cache clean || npm cache verify fi # Prevent bootstrap, we only want top-level dependencies