From 543c508fbbe6be424fc86fc0324c82f54f90dfa7 Mon Sep 17 00:00:00 2001 From: Galimede Date: Mon, 2 Nov 2020 18:34:28 +0100 Subject: [PATCH] change env placment --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ab208b4..54d8fb9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 environment: POSTGRES_USER: e2e @@ -46,12 +52,6 @@ jobs: - run: name: Launching e2e test command: yarn test:e2e - environment: - DATABASE_URL: "postgres://e2e:test@localhost:5432/psdb" - API_PORT: 3000 - API_HOST: "localhost" - API_PROTOCOL: "http" - JWT_SECRET: "youwontguess" workflows: