Skip to content

[workflow]add workflow to check link validation #4

[workflow]add workflow to check link validation

[workflow]add workflow to check link validation #4

Workflow file for this run

name: Check Relative Links
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check_links:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "20"
- name: Install Markdown link checker
run: npm install -g markdown-link-check
- name: Check links in Markdown files
run: |
find . -name "*.md" -print0 | xargs -0 markdown-link-check --quiet --config .markdown-link-check.json