From 02b964d5242507dd0d82b2fae16961a3f330cb33 Mon Sep 17 00:00:00 2001 From: HenriBoulnois <72384047+HenriBoulnois@users.noreply.github.com> Date: Mon, 11 Oct 2021 11:35:28 +0200 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a2c2ead..f4422a3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -79,6 +79,27 @@ jobs: paths: - node_modules key: npm-v2-dependencies-{{ checksum "yarn.lock" }} + docgen: + docker: + - image: cimg/node:lts + auth: + username: henriboulnois + password: $DOCKERHUB_PASSWORD + working_directory: /build + steps: + - checkout + - restore_cache: + keys: + - npm-v2-dependencies-{{ checksum "yarn.lock" }} + - npm-v2-dependencies + - run: yarn doc:build > /build/doc; + - save_cache: + paths: + - node_modules + key: npm-v2-dependencies-{{ checksum "yarn.lock" }} + - store_artifacts: + path: /build/doc + destination: build workflows: build: @@ -95,4 +116,10 @@ workflows: requires: - yarninstall - yarnlint - - unittest \ No newline at end of file + - unittest + - docgen: + requires: + - yarninstall + - yarnlint + - unittest + - e2etest \ No newline at end of file