Check Markdown Links #106
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: Check Markdown Links | |
on: | |
push: | |
paths: | |
- "**.md" | |
schedule: | |
- cron: "0 0 */6 * *" | |
jobs: | |
link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '>=14.0.0' | |
- name: Install dependencies | |
run: npm install -g markdown-link-check | |
- name: Find and check Markdown files | |
run: | | |
find . -name "*.md" -exec echo "Checking links in {}" \; | |
find . -name "*.md" -exec markdown-link-check {} \; |