Skip to content

Commit 3380dcc

Browse files
authored
Merge pull request #158 from Yoast/feature/ghactions-update-markdownlint
GH Actions: update markdown lint workflow
2 parents 3ac4954 + b056fc4 commit 3380dcc

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/markdown.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,13 @@ jobs:
2828
- name: Checkout code
2929
uses: actions/checkout@v4
3030

31-
# This action also handles the caching of the dependencies.
32-
# https://github.com/actions/setup-node
33-
- name: Set up node and enable caching of dependencies
34-
uses: actions/setup-node@v4
35-
with:
36-
node-version: '16'
37-
38-
# @link https://github.com/DavidAnson/markdownlint-cli2
39-
# @link https://github.com/DavidAnson/markdownlint
40-
- name: Install Markdownlint CLI2
41-
run: npm install -g markdownlint-cli2
42-
4331
# @link https://github.com/marketplace/actions/problem-matcher-for-markdownlint-cli
4432
- name: Enable showing issue in PRs
4533
uses: xt0rted/markdownlint-problem-matcher@v3
4634

35+
# @link https://github.com/marketplace/actions/markdownlint-cli2-action
4736
- name: Check markdown with CLI2
48-
run: markdownlint-cli2
37+
uses: DavidAnson/markdownlint-cli2-action@v15
4938

5039
remark:
5140
name: 'QA Markdown'

0 commit comments

Comments
 (0)