From 101fe9c78583e2d5072eb81e7e4065b6ee1aa3c5 Mon Sep 17 00:00:00 2001 From: Francois Lannoy Date: Mon, 2 Nov 2020 19:37:53 +0100 Subject: [PATCH] changed the damn version of node and psql --- .circleci/config.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bba79d7..7707a03 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ workflows: jobs: build: docker: - - image: cimg/node:14.10.1 + - image: cimg/node:12.18 steps: - checkout - restore_cache: @@ -27,7 +27,7 @@ jobs: - ./node_modules lint: docker: - - image: cimg/node:14.10.1 + - image: cimg/node:12.18 steps: - checkout - restore_cache: @@ -35,7 +35,7 @@ jobs: - run : yarn lint && yarn format:check test: docker: - - image: cimg/node:14.10.1 + - image: cimg/node:12.18 steps: - checkout - restore_cache: @@ -43,18 +43,19 @@ jobs: - run : yarn test:ci e2e: docker: - - image: cimg/node:12.19 - - image: circleci/postgres + - image: cimg/node:12.18 + environment: + DATABASE_URL: "postgres://e2e:test@localhost:5432/psdb" + API_PORT: 3000 + API_HOST: localhost + API_PROTOCOL: http + JWT_SECRET: yeet + - image: circleci/postgres:9.6.2-alpine environment: POSTGRES_USER: e2e POSTGRES_DB: psdb POSTGRES_PASSWORD: test - environment: - DATABASE_URL: "postgres://e2e:test@localhost:5432/psdb" - API_PORT: 3000 - API_HOST: localhost - API_PROTOCOL: http - JWT_SECRET: yeet + steps: - checkout - restore_cache: