Merge pull request #1240 from thelounge/astorije/better-run_pr-script

Improve the PR tester script a bit
This commit is contained in:
Jérémie Astori 2017-06-20 02:21:39 -04:00 committed by GitHub
commit 5cbf847c4a
1 changed files with 2 additions and 1 deletions

View File

@ -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