From a403dac8ef6986e26868380548e4b989b97426f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Tue, 20 Jun 2017 01:17:11 -0400 Subject: [PATCH] Build in production environment on script testing PRs --- scripts/run-pr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run-pr.sh b/scripts/run-pr.sh index e8e65c5d..a83c6dd1 100755 --- a/scripts/run-pr.sh +++ b/scripts/run-pr.sh @@ -10,6 +10,6 @@ fi git fetch https://github.com/thelounge/lounge.git refs/pull/${1}/head git checkout FETCH_HEAD npm install -npm run build +NODE_ENV=production npm run build npm test || true npm start