diff --git a/.circleci/config.yml b/.circleci/config.yml index 1f02182..558d83e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,6 +53,10 @@ jobs: docker: - image: "circleci/node:12" - image: "circleci/postgres:9.6.2-alpine" + environment: environment: + PG_USER: julien_dudek + PG_DB: testdb + PG_PASSWORD: unpass steps: - checkout - restore_cache: @@ -60,7 +64,7 @@ jobs: - run: command: yarn test:e2e environment: - DATABASE_URL: postgres://julien_dudek:pass@localhost:5432/testdb + DATABASE_URL: postgres://$PG_USER:$PG_PASSWORD@localhost:5432/$PG_DB JWT_SECRET: m1iii API_PORT: 3000 API_HOST: localhost