Skip to content

Commit 919d490

Browse files
committed
Add md linter check to CI workflow
1 parent 123839b commit 919d490

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.circleci/config.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
# => tsc
4848
# => tests
4949
# => linter
50+
# => docs linter
5051
#------------------------------------------------------------
5152

5253
lerna-bootstrap:
@@ -92,6 +93,16 @@ jobs:
9293
- run:
9394
name: 'Run linter'
9495
command: yarn lint:check
96+
97+
run-docs-linter-check:
98+
<<: *defaults
99+
steps:
100+
- checkout
101+
- attach_workspace:
102+
at: ~/project
103+
- run:
104+
name: 'Run md linter'
105+
command: yarn workspace docs lint-md
95106

96107
#------------------------------------------------------------
97108
# 3. Build VuePress
@@ -118,6 +129,7 @@ workflows:
118129
- install-dependencies
119130
- lerna-bootstrap: { requires: [install-dependencies] }
120131
- run-linter-check: { requires: [install-dependencies] }
132+
- run-docs-linter-check: { requires: [install-dependencies] }
121133
- run-tsc: { requires: [install-dependencies] }
122134
- run-tests: { requires: [run-tsc] }
123-
- build: { requires: [run-tests, run-linter-check, lerna-bootstrap] }
135+
- build: { requires: [run-tests, run-linter-check, run-docs-linter-check, lerna-bootstrap] }

0 commit comments

Comments
 (0)