From b943b12cd11b653631cef2650cc555968e96e27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Thu, 22 Feb 2018 00:50:27 -0500 Subject: [PATCH] Use Yarn in the PR-test script --- scripts/run-pr.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/run-pr.sh b/scripts/run-pr.sh index 6c63a6ba..d8ddee73 100755 --- a/scripts/run-pr.sh +++ b/scripts/run-pr.sh @@ -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 "$@"