Check for broken links #839
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-20.04 | |
name: Check for broken links in README.md | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- run: | | |
npm install -g markdown-link-check | |
find . -type f -name '*.md' | xargs -L1 npx markdown-link-check -c .broken-link-config.json --quiet |