From 065dff799133e8add13351a36da3bfa68bbaabcd Mon Sep 17 00:00:00 2001 From: lamya-rey <61109480+lamya-rey@users.noreply.github.com> Date: Thu, 5 Nov 2020 23:50:55 +0100 Subject: [PATCH] last commit --- .circleci/config.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7e9011b..db18e36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,14 +52,7 @@ jobs: key: yarn-cache{{ checksum "yarn.lock" }} paths: - ./node_modules - e2e: - docker: - - image: "circleci/node:12" - - image: "circleci/postgres:9.6.2-alpine" - environment: - POSTGRES_USER: lamya-ray - POSTGRES_DB: testci - POSTGRES_PASSWORD: testci1 + steps: - checkout - restore_cache: @@ -67,7 +60,7 @@ jobs: - run: command: yarn test:e2e environment: - DATABASE_URL: postgres://lamya-ray:testci1@localhost:5432/testci + DATABASE_URL: postgres://lamya-ray:testci1@localhost:5432/postgres JWT_SECRET: m1iii API_PORT: 3000 API_HOST: localhost @@ -76,6 +69,14 @@ jobs: key: yarn-cache{{ checksum "yarn.lock" }} paths: - ./node_modules + e2e: + docker: + - image: "circleci/node:12" + - image: "circleci/postgres:9.6.2-alpine" + environment: + POSTGRES_USER: lamya-ray + POSTGRES_DB: postgres + POSTGRES_PASSWORD: testci1 doc: docker: - image: "circleci/node:12"