From 3186dadf6686c3c6232b3505eb26df68d89c2116 Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Mon, 2 Nov 2020 11:56:59 +0100 Subject: [PATCH] WIP --- .circleci/config.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7918018..f689d6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,17 +51,11 @@ jobs: paths: - ./node_modules db: - - image: circleci/postgres:9.6-alpine - environment: - DATABASE_URL: postgres://$PG_USER@localhost:5432/$PG_DB - JWT_SECRET: yeet - API_PORT: 3000 - API_HOST: localhost - API_PROTOCOL: http - - image: - environment: - PG_USER: circleci-demo-go - PG_DB: circle_test + docker: + - image: circleci/postgres:9.6-alpine + environment: + PG_USER: circleci-demo-go + PG_DB: circle_test steps: - checkout @@ -74,7 +68,13 @@ jobs: - ./node_modules e2e: docker: - - image: cimg/node:14.10.1 + - image: cimg/node:14.10.1 + environment: + DATABASE_URL: postgres://$PG_USER@localhost:5432/$PG_DB + JWT_SECRET: yeet + API_PORT: 3000 + API_HOST: localhost + API_PROTOCOL: http steps: - checkout - restore_cache: