From b2a899cf590f5046f1a12783592c81fb39f6f432 Mon Sep 17 00:00:00 2001 From: pierre darcas Date: Tue, 3 Nov 2020 16:38:02 +0100 Subject: [PATCH] e2e6 --- .circleci/config.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 434adec..1e6cd87 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,24 +38,24 @@ jobs: - ./node_modules test_e2e: docker: + - 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 - image: circleci/postgres:9.6.2-alpine environment: POSTGRES_USER: pdarcas POSTGRES_DB: circleci_tp POSTGRES_PASSWORD: pdarcas - - image: "circleci/node:12" # the primary container, where your job's commands are run steps: - checkout # check out the code in the project directory - restore_cache: key: yarn-v-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-v-packages-{{ checksum "yarn.lock" }} paths: