Use Yarn in the PR-test script

This commit is contained in:
Jérémie Astori 2018-02-22 00:50:27 -05:00
parent f8c894d7e1
commit b943b12cd1
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8

View file

@ -10,8 +10,8 @@ fi
git fetch https://github.com/thelounge/thelounge.git refs/pull/${1}/head git fetch https://github.com/thelounge/thelounge.git refs/pull/${1}/head
git checkout FETCH_HEAD git checkout FETCH_HEAD
git rebase master git rebase master
npm install yarn install
NODE_ENV=production npm run build NODE_ENV=production yarn build
npm test || true yarn test || true
shift shift
npm start -- "$@" yarn start "$@"