From 8f2645d3247ee4b58cafd74773a1662dbb517b9d Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Thu, 2 Jul 2020 08:23:27 +0200 Subject: [PATCH] Build docs in CI --- .circleci/config.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c2aff1d8..56f32f37 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,6 +4,7 @@ workflows: workflow: jobs: - build + - docs - lint - test: requires: @@ -291,6 +292,28 @@ jobs: command: ./scripts/tendermint/all_stop.sh - run: command: ./scripts/socketserver/stop.sh + docs: + docker: + - image: circleci/node:10-buster + steps: + - checkout + - run: + name: Version information + command: echo "node $(node --version)"; echo "yarn $(yarn --version)" + - restore_cache: + name: Restore Yarn Package Cache + keys: + - yarn-packages-{{ checksum "yarn.lock" }} + - run: + name: Install Dependencies + command: yarn install --frozen-lockfile + - save_cache: + name: Save Yarn Package Cache + key: yarn-packages-{{ checksum "yarn.lock" }} + paths: + - ~/.cache/yarn + - run: + command: yarn docs lint: docker: - image: circleci/node:10-buster