Skip to content

Commit

Permalink
Add md linter check to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kefranabg committed Aug 11, 2019
1 parent 123839b commit 919d490
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
# => tsc
# => tests
# => linter
# => docs linter
#------------------------------------------------------------

lerna-bootstrap:
Expand Down Expand Up @@ -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
Expand All @@ -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] }

0 comments on commit 919d490

Please sign in to comment.