|
|
@ -79,6 +79,27 @@ jobs: |
|
|
paths: |
|
|
paths: |
|
|
- node_modules |
|
|
- node_modules |
|
|
key: npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
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: |
|
|
workflows: |
|
|
build: |
|
|
build: |
|
|
@ -95,4 +116,10 @@ workflows: |
|
|
requires: |
|
|
requires: |
|
|
- yarninstall |
|
|
- yarninstall |
|
|
- yarnlint |
|
|
- yarnlint |
|
|
- unittest |
|
|
|
|
|
|
|
|
- unittest |
|
|
|
|
|
- docgen: |
|
|
|
|
|
requires: |
|
|
|
|
|
- yarninstall |
|
|
|
|
|
- yarnlint |
|
|
|
|
|
- unittest |
|
|
|
|
|
- e2etest |