Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions modules/profile/files/builder/builder-do-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ trap cleanup EXIT
export NODE_ENV=production

cd "$1"
npm install
npm update
npm prune
if [ -e 'package-lock.json' ] || [ -e 'npm-shrinkwrap.json' ]; then
npm ci
else
npm install
fi

GRUNT="node_modules/.bin/grunt"
SERVERS="$(cat /etc/builder-wordpress-hosts)"
Expand Down