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 Timer committed Sep 12, 2017
1 parent eed708a commit 0e064b3
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 0e064b3

Please sign in to comment.