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