Skip to content

Commit cbbbb6a

Browse files
committed
Use markdownlint-cli2 in gitlab pipeline
1 parent 07d700d commit cbbbb6a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
workflow:
1+
workflow:
22
rules:
33
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
44
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -11,8 +11,8 @@ lint-markdown:
1111
stage: build
1212
image: node:lts
1313
script:
14-
- npm install -g markdownlint-cli
15-
- markdownlint "**/*.md"
14+
- npm install -g markdownlint-cli2
15+
- markdownlint-cli2 "**/*.md"
1616

1717
lint-yaml:
1818
stage: build

0 commit comments

Comments
 (0)