Skip to content

Commit

Permalink
Merge pull request #710 from MicrosoftDocs/gewarren-patch-2
Browse files Browse the repository at this point in the history
Update Node.js version for markdownlint
  • Loading branch information
mattwojo committed Mar 4, 2024
2 parents f6c0a84 + 9e970a8 commit 21177b3
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ on:

jobs:
lint:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 #@v2
- name: Use Node.js
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d #@v1
with:
node-version: 12.x
- name: Run Markdownlint
run: |
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json"
npm i -g markdownlint-cli
markdownlint "**/*.md"
- uses: actions/checkout@v4.1.1
- name: Use Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: 16.x
- name: Run Markdownlint
run: |
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json"
npm i -g markdownlint-cli
markdownlint "**/*.md"

0 comments on commit 21177b3

Please sign in to comment.