From 877c3b651ae9037b52d5a70024c040f74ae78595 Mon Sep 17 00:00:00 2001 From: Tarskan <55380090+Tarskan@users.noreply.github.com> Date: Wed, 13 Oct 2021 14:47:42 +0200 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c53ae36..f72cce3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -62,6 +62,13 @@ jobs: #ne fonctionne mais vu en cour c'est ce que l'on attandais DATABASETest : docker: + - image: cimg/node:14.15.0 # the primary container, where your job's commands are run + auth: + username: $AUTH_DOCKER + password: $PSW_DOCKER # context / project UI env-var reference + environment: + DATABASE_URL: postgres://root:test@localhost:5433/db + - image: circleci/postgres:9.6.5-alpine-ram auth: username: $AUTH_DOCKER @@ -70,7 +77,6 @@ jobs: POSTGRES_USER: root POSTGRES_DB: db POSTGRES_PASSWORD: test - DATABASE_URL: postgres://root:test@localhost:5432/db steps: - checkout - restore_cache: @@ -89,5 +95,5 @@ jobs: key: npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn doc:build - store_artifacts: - path: ~/project/docs/ + path: ~/projects/docs/ destination: yarn-docs \ No newline at end of file