Skip to content

Commit 8906cdb

Browse files
committed
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
1 parent 88963b4 commit 8906cdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/npm/install-dependencies.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ SHRINKWRAP_CACHED_FILE=node_modules/npm-shrinkwrap.cached.json
77

88
if diff -q $SHRINKWRAP_FILE $SHRINKWRAP_CACHED_FILE; then
99
echo 'No shrinkwrap changes detected. npm install will be skipped...';
10+
echo 'Running npm postinstall'
11+
npm run postinstall
1012
else
1113
echo 'Blowing away node_modules and reinstalling npm dependencies...'
1214
rm -rf node_modules

0 commit comments

Comments
 (0)