Skip to content

Commit

Permalink
Upgrade npm for kitchensink
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Jan 11, 2018
1 parent 45d95bb commit 00b79f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/e2e-kitchensink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ set -x
cd ..
root_path=$PWD

if hash npm 2>/dev/null
then
npm i -g npm@latest
npm cache clean || npm cache verify
fi

# Prevent bootstrap, we only want top-level dependencies
cp package.json package.json.bak
grep -v "postinstall" package.json > temp && mv temp package.json
Expand Down

0 comments on commit 00b79f4

Please sign in to comment.