@ -31,6 +31,12 @@ jobs:
test_e2e:
docker:
- image: cimg/node:12.18
environment:
DATABASE_URL: postgres://e2e:test@localhost:5432/psdb
API_PORT: 3000
API_HOST: localhost
API_PROTOCOL: http
JWT_SECRET: youwontguess
- image: circleci/postgres
POSTGRES_USER: e2e
@ -46,12 +52,6 @@ jobs:
- run:
name: Launching e2e test
command: yarn test:e2e
DATABASE_URL: "postgres://e2e:test@localhost:5432/psdb"
API_HOST: "localhost"
API_PROTOCOL: "http"
JWT_SECRET: "youwontguess"
workflows: