Skip to content

chore(ci): add prettier formatter #248

chore(ci): add prettier formatter

chore(ci): add prettier formatter #248

name: Check Markdown links
on:
pull_request:
paths:
- '**/*.md'
- 'markdown_link_check_config.json'
- '.github/workflows/markdown-link-check.yml'
permissions:
contents: read
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 'lts/*'
- name: Install markdown-link-check
run: npm i -g markdown-link-check@3.14.2
- name: Run markdown-link-check on MD files
run: find . -name "*.md" | xargs -n 1 markdown-link-check -c markdown_link_check_config.json -q