Revert "run npm 5.4.0 in CI (#3026)" (#3107)

This reverts commit fcb6dc5557.
This commit is contained in:
Ade Viankakrisna Fadlil
2017-09-12 08:40:11 +07:00
committed by Joe Haddad
parent eed708a822
commit 0e064b30ca
3 changed files with 9 additions and 9 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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