Skip to content

markdown_linter

markdown_linter #675

name: markdown_linter
on:
push:
branches:
- main
pull_request:
schedule:
- cron: "0 0 * * 0"
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- uses: gaurav-nelson/github-action-markdown-link-check@v1
markdown_lint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14.x ]
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install --global markdownlint-cli2
- name: Run lint check
run: markdownlint-cli2-fix "**/*.md"