From 0ab2ceb48316720163811c03f0b58365faa89018 Mon Sep 17 00:00:00 2001 From: Arjun Gadhia Date: Fri, 23 Nov 2018 17:05:38 +0000 Subject: [PATCH] Install dev deps for postbuild, then prune --- src/tasks/deploy.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tasks/deploy.mk b/src/tasks/deploy.mk index 139704a..dc804b5 100644 --- a/src/tasks/deploy.mk +++ b/src/tasks/deploy.mk @@ -52,7 +52,9 @@ test-review-app: gtg-review-app smoke a11y heroku-postbuil%: npm update + npm install --only=dev @if [ -e bower.json ]; then $(BOWER_INSTALL); fi make build-production make deploy-assets + npm prune --production