ci - add prep-docs job

feature/default_network_editable
kumavis 7 years ago
parent 8fe19a16c5
commit cc6265fe0a
  1. 18
      .circleci/config.yml

@ -9,6 +9,9 @@ workflows:
- prep-build: - prep-build:
requires: requires:
- prep-deps-npm - prep-deps-npm
- prep-docs:
requires:
- prep-deps-npm
- prep-scss: - prep-scss:
requires: requires:
- prep-deps-npm - prep-deps-npm
@ -134,6 +137,21 @@ jobs:
- dist - dist
- builds - builds
prep-docs:
docker:
- image: circleci/node:8-browsers
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ .Revision }}
- run:
name: build:dist
command: npm run doc
- save_cache:
key: docs-cache-{{ .Revision }}
paths:
- docs/jsdoc
prep-scss: prep-scss:
docker: docker:
- image: circleci/node:8-browsers - image: circleci/node:8-browsers

Loading…
Cancel
Save