diff --git a/.circleci/config.yml b/.circleci/config.yml index b848bbce5e..8f53ea0579 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -47,6 +47,7 @@ jobs: # => tsc # => tests # => linter + # => docs linter #------------------------------------------------------------ lerna-bootstrap: @@ -92,6 +93,16 @@ jobs: - run: name: 'Run linter' command: yarn lint:check + + run-docs-linter-check: + <<: *defaults + steps: + - checkout + - attach_workspace: + at: ~/project + - run: + name: 'Run md linter' + command: yarn workspace docs lint-md #------------------------------------------------------------ # 3. Build VuePress @@ -118,6 +129,7 @@ workflows: - install-dependencies - lerna-bootstrap: { requires: [install-dependencies] } - run-linter-check: { requires: [install-dependencies] } + - run-docs-linter-check: { requires: [install-dependencies] } - run-tsc: { requires: [install-dependencies] } - run-tests: { requires: [run-tsc] } - - build: { requires: [run-tests, run-linter-check, lerna-bootstrap] } + - build: { requires: [run-tests, run-linter-check, run-docs-linter-check, lerna-bootstrap] }