provide sample class #7
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: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Check for broken links | |
run: | | |
npm install -g markdown-link-check@3.10.3 | |
find README.md -type f | xargs -L1 npx markdown-link-check -c .broken-link-config.json --quiet |