Merge pull request #2093 from thelounge/astorije/pr-script-yarn

Use Yarn in the PR-test script
This commit is contained in:
Pavel Djundik 2018-02-22 10:31:49 +02:00 committed by GitHub
commit eebfa4bfd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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