From 148f8b9018a45fa694cc1d472257131caa7142e9 Mon Sep 17 00:00:00 2001 From: LecomteAdrien Date: Mon, 2 Nov 2020 12:30:42 +0100 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6d52457..8987fc7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,21 +52,22 @@ jobs: - ./node_modules database: - - image: circleci/postgres:9.6-alpine - steps: - - checkout - - restore_cache: - key: yarn-packages-v3{{ checksum "yarn.lock" }} - - run: yarn test:e2e - environment: - POSTGRES_USER: psqluer - POSTGRES_DB: psdb - DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb - JWT_SECRET: some string yo want - API_PORT: 3000 - API_HOST: localhost - API_PROTOCOL: http - - save_cache: - key: yarn-packages-v3{{ checksum "yarn.lock" }} - paths: - - ./node_modules \ No newline at end of file + docker: + - image: circleci/postgres:9.6-alpine + steps: + - checkout + - restore_cache: + key: yarn-packages-v3{{ checksum "yarn.lock" }} + - run: yarn test:e2e + environment: + POSTGRES_USER: psqluer + POSTGRES_DB: psdb + DATABASE_URL: postgres://psqluer:psqlpassword@localhost:5432/psdb + JWT_SECRET: some string yo want + API_PORT: 3000 + API_HOST: localhost + API_PROTOCOL: http + - save_cache: + key: yarn-packages-v3{{ checksum "yarn.lock" }} + paths: + - ./node_modules \ No newline at end of file