From 5321a5e48585ff026a28c1de67f8841dec3dc93b Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Wed, 23 Aug 2017 11:23:07 +0200 Subject: [PATCH] Use yarn in test script --- scripts/docker-postgres.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/docker-postgres.sh b/scripts/docker-postgres.sh index a9ddf21e14..5d78b7a854 100755 --- a/scripts/docker-postgres.sh +++ b/scripts/docker-postgres.sh @@ -24,8 +24,8 @@ done export TEST_DATABASE_URL=postgres://postgres:$POSTGRES_PASSWORD@$database_host:$PGPORT/postgres -npm install +yarn DATABASE_URL=$TEST_DATABASE_URL ./node_modules/.bin/db-migrate up -npm test +yarn test docker stop $HASH docker rm $HASH