Check for broken links #1154
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 for broken links | |
on: | |
push: | |
schedule: | |
- cron: '0 5 * * SUN' | |
jobs: | |
broken-link-check: | |
runs-on: ubuntu-22.04 | |
name: Check for broken links in README.md | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: | | |
npm install -g [email protected] | |
find . -type f -name '*.md' | xargs -L1 npx markdown-link-check -c .broken-link-config.json --quiet |