diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 92a813c..06af4c1 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -17,8 +17,8 @@ jobs: - name: Run tests run: | - docker run --rm -d -p 5432:5432 -e POSTGRES_DB=db -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password postgres:13 - docker run --rm -d -p 11211:11211 memcached:1.6.9 + docker run --rm -d -p 5432:5432 -e POSTGRES_DB=db -e POSTGRES_USER=user -e POSTGRES_PASSWORD=password postgres + docker run --rm -d -p 11211:11211 memcached yarn prisma generate --schema ./test/prisma/schema.prisma yarn prisma migrate dev --schema ./test/prisma/schema.prisma yarn test diff --git a/README.md b/README.md index 267b9b8..dc2379c 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ docker run --rm -d \ -e POSTGRES_DB=db \ -e POSTGRES_USER=user \ -e POSTGRES_PASSWORD=password \ - postgres:13 + postgres ``` Define the DATABASE_URL environment variable mentioned in our prisma schema. @@ -197,11 +197,11 @@ docker run --rm -d \ -e POSTGRES_DB=db \ -e POSTGRES_USER=user \ -e POSTGRES_PASSWORD=password \ - postgres:13 + postgres docker run --rm -d \ -p 11211:11211 \ - memcached:1.6.9 + memcached ``` ```bash