Bump actions/setup-node from c2ac33f2c62f978d6c944d9648125a294e56dc0b to 1e60f620b9541d16bece96c5465dc8ee9832be0b #51
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Markdownlint | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**/*.md" | |
- ".markdownlint-cli2.jsonc" | |
- ".github/workflows/markdownlint.yml" | |
- ".github/workflows/markdownlint-problem-matcher.json" | |
pull_request: | |
paths: | |
- "**/*.md" | |
- ".markdownlint-cli2.jsonc" | |
- ".github/workflows/markdownlint.yml" | |
- ".github/workflows/markdownlint-problem-matcher.json" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
permissions: | |
statuses: write | |
steps: | |
- uses: actions/[email protected] | |
- name: Use Node.js | |
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b | |
with: | |
node-version: 20.x | |
- name: Run Markdownlint | |
run: | | |
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json" | |
npm i -g markdownlint-cli2 | |
markdownlint-cli2 "**/*.md" |