chore(build): trigger npm postinstall when npm install is skipped
we temporarily need this because some of our dependencies are being installed via npm postinstall
This commit is contained in:
parent
88963b438f
commit
8906cdbab8
|
@ -7,6 +7,8 @@ SHRINKWRAP_CACHED_FILE=node_modules/npm-shrinkwrap.cached.json
|
|||
|
||||
if diff -q $SHRINKWRAP_FILE $SHRINKWRAP_CACHED_FILE; then
|
||||
echo 'No shrinkwrap changes detected. npm install will be skipped...';
|
||||
echo 'Running npm postinstall'
|
||||
npm run postinstall
|
||||
else
|
||||
echo 'Blowing away node_modules and reinstalling npm dependencies...'
|
||||
rm -rf node_modules
|
||||
|
|
Loading…
Reference in New Issue