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