Commit fcb6dc55 authored by Ade Viankakrisna Fadlil's avatar Ade Viankakrisna Fadlil Committed by Dan Abramov
Browse files

run npm 5.4.0 in CI (#3026)

* run npm 5.4.0 in CI

* run npm cache clean with --force in CI

* use link instead of install

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-simple.sh
parent 634dadb4
Showing with 9 additions and 9 deletions
+9 -9
...@@ -95,11 +95,11 @@ fi ...@@ -95,11 +95,11 @@ fi
if hash npm 2>/dev/null if hash npm 2>/dev/null
then then
# npm 5 is too buggy right now # npm 5.0-5.4.0 is too buggy
if [ $(npm -v | head -c 1) -eq 5 ]; then if [ $(npm -v | head -c 1) -eq 5 ]; then
npm i -g npm@^4.x npm i -g npm@^5.4.1
fi; fi;
npm cache clean || npm cache verify npm cache clean --force || npm cache verify
fi fi
# Prevent bootstrap, we only want top-level dependencies # Prevent bootstrap, we only want top-level dependencies
......
...@@ -87,11 +87,11 @@ fi ...@@ -87,11 +87,11 @@ fi
if hash npm 2>/dev/null if hash npm 2>/dev/null
then then
# npm 5 is too buggy right now # npm 5.0-5.4.0 is too buggy
if [ $(npm -v | head -c 1) -eq 5 ]; then if [ $(npm -v | head -c 1) -eq 5 ]; then
npm i -g npm@^4.x npm i -g npm@^5.4.1
fi; fi;
npm cache clean || npm cache verify npm cache clean --force || npm cache verify
fi fi
# Prevent bootstrap, we only want top-level dependencies # Prevent bootstrap, we only want top-level dependencies
......
...@@ -86,11 +86,11 @@ fi ...@@ -86,11 +86,11 @@ fi
if hash npm 2>/dev/null if hash npm 2>/dev/null
then then
# npm 5 is too buggy right now # npm 5.0-5.4.0 is too buggy
if [ $(npm -v | head -c 1) -eq 5 ]; then if [ $(npm -v | head -c 1) -eq 5 ]; then
npm i -g npm@^4.x npm i -g npm@^5.4.1
fi; fi;
npm cache clean || npm cache verify npm cache clean --force || npm cache verify
fi fi
# Prevent bootstrap, we only want top-level dependencies # Prevent bootstrap, we only want top-level dependencies
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment