Skip to content

Fix: Broken Links

Fix: Broken Links #9

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"