Build in production environment on script testing PRs

This commit is contained in:
Jérémie Astori 2017-06-20 01:17:11 -04:00
parent 16795cf2b7
commit a403dac8ef
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

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