From a4b3e9636982626b9e4cf1134416f37a834b95b2 Mon Sep 17 00:00:00 2001 From: pierre darcas Date: Tue, 3 Nov 2020 16:14:17 +0100 Subject: [PATCH] e2e4 --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6ac73a1..8af9755 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,18 +44,18 @@ jobs: POSTGRES_DB: circleci_tp POSTGRES_PASSWORD: pdarcas - image: "circleci/node:12" # the primary container, where your job's commands are run + environement: + DATABASE_URL: postgres://pdarcas:pdarcas@localhost:5432/circleci_tp + JWT_SECRET: answer is 42 + API_PORT: 3000 + API_HOST: localhost + API_PROTOCOL: http steps: - checkout # check out the code in the project directory - restore_cache: key: yarn-v1-packages-{{ checksum "yarn.lock" }} - run: command: yarn test:e2e - environement: - DATABASE_URL: postgres://pdarcas:pdarcas@localhost:5432/circleci_tp - JWT_SECRET: answer is 42 - API_PORT: 3000 - API_HOST: localhost - API_PROTOCOL: http - save_cache: key: yarn-v1-packages-{{ checksum "yarn.lock" }} paths: