diff --git a/scripts/run-pr.sh b/scripts/run-pr.sh index e8e65c5d..de020c75 100755 --- a/scripts/run-pr.sh +++ b/scripts/run-pr.sh @@ -9,7 +9,8 @@ fi git fetch https://github.com/thelounge/lounge.git refs/pull/${1}/head git checkout FETCH_HEAD +git rebase master npm install -npm run build +NODE_ENV=production npm run build npm test || true npm start