From c7ad3f98490d80b386d66e01047cd37f3c0a1b01 Mon Sep 17 00:00:00 2001 From: Adrien-Ba <45963338+Adrien-Ba@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:23:47 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b33300c..0870f8c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -90,6 +90,26 @@ jobs: key: npm-v1-dependencies-{{ checksum "yarn.lock" }} paths: - node_modules + generatedoc: + docker: + - image: cimg/node:lts + auth: + username: adrienba + password: $MYDOCKERHUB_PASSWORD + steps: + - checkout + - restore_cache: + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - npm-v1-dependencies + - run: + name: "yarn doc:build" + command: yarn doc:build + - save_cache: + key: npm-v1-dependencies-{{ checksum "yarn.lock" }} + paths: + - node_modules + @@ -107,4 +127,10 @@ workflows: - yarnlint - bddtest: requires: - - build \ No newline at end of file + - build + - generatedoc: + requires: + - build + - yarnlint + - yarntest + - bddtest