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 checkout FETCH_HEAD
git rebase master
npm install
NODE_ENV=production npm run build
npm test || true
yarn install
NODE_ENV=production yarn build
yarn test || true
shift
npm start -- "$@"
yarn start "$@"