Skip to content

Commit 21177b3

Browse files
authored
Merge pull request #710 from MicrosoftDocs/gewarren-patch-2
Update Node.js version for markdownlint
2 parents f6c0a84 + 9e970a8 commit 21177b3

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/markdownlint.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@ on:
1616

1717
jobs:
1818
lint:
19-
2019
runs-on: ubuntu-latest
2120

2221
steps:
23-
- uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 #@v2
24-
- name: Use Node.js
25-
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d #@v1
26-
with:
27-
node-version: 12.x
28-
- name: Run Markdownlint
29-
run: |
30-
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json"
31-
npm i -g markdownlint-cli
32-
markdownlint "**/*.md"
22+
- uses: actions/checkout@v4.1.1
23+
- name: Use Node.js
24+
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
25+
with:
26+
node-version: 16.x
27+
- name: Run Markdownlint
28+
run: |
29+
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json"
30+
npm i -g markdownlint-cli
31+
markdownlint "**/*.md"

0 commit comments

Comments
 (0)