From 36eccc427360891cccc443720a077fd2671fb64b Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Mon, 2 Nov 2020 16:58:06 +0100 Subject: [PATCH] env --- .circleci/config.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d551290..38a5a2a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,7 +49,13 @@ jobs: POSTGRES_USER: e2e POSTGRES_DB: psdb POSTGRES_PASSWORD: test - steps: + environment: + DATABASE_URL: "postgres://e2e:test@localhost:5432/psdb" + API_PORT: 3000 + API_HOST: localhost + API_PROTOCOL: http + JWT_SECRET: yeet + steps: - checkout - restore_cache: key: yarn-packages-v2{{ checksum "yarn.lock" }} @@ -59,9 +65,4 @@ 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: yeet +