Skip to content

Commit

Permalink
Revert "run npm 5.4.0 in CI (facebook#3026)" (facebook#3107)
Browse files Browse the repository at this point in the history
This reverts commit fcb6dc5.
  • Loading branch information
viankakrisna authored and kasperpeulen committed Sep 24, 2017
1 parent feef70e commit 2141dac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions tasks/e2e-installs.sh
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions tasks/e2e-kitchensink.sh
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions tasks/e2e-simple.sh
Expand Up @@ -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
Expand Down

0 comments on commit 2141dac

Please sign in to comment.