Skip to content

Commit 00b79f4

Browse files
committed
Upgrade npm for kitchensink
1 parent 45d95bb commit 00b79f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tasks/e2e-kitchensink.sh

+6
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@ set -x
5959
cd ..
6060
root_path=$PWD
6161

62+
if hash npm 2>/dev/null
63+
then
64+
npm i -g npm@latest
65+
npm cache clean || npm cache verify
66+
fi
67+
6268
# Prevent bootstrap, we only want top-level dependencies
6369
cp package.json package.json.bak
6470
grep -v "postinstall" package.json > temp && mv temp package.json

0 commit comments

Comments
 (0)