Fix: Broken Links #9
Workflow file for this run
This file contains hidden or 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: Broken Link Checker | |
| on: | |
| pull_request: | |
| branches: [master] | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| check-links: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@master | |
| with: | |
| fetch-depth: 0 | |
| - name: Install and Build 🔧 | |
| run: | | |
| npm install --legacy-peer-deps | |
| node -v | |
| npm run version | |
| npm run noIndex | |
| - name: Serve site | |
| run: npx serve ./public -l 5000 & | |
| - name: Run Linkinator | |
| run: npx linkinator http://localhost:5000 --retry --concurrency 5 || true | |
| - name: Finish | |
| run: echo "Link check completed" |