Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
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: Run Linkinator
run: npx linkinator ./public --recurse --skip '404.html' --retry --concurrency 5 --timeout 30000 || true

- name: Finish
run: echo "Link check completed"
5 changes: 0 additions & 5 deletions .github/workflows/build-and-preview-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ jobs:
npm run version
npm run noIndex

- name: Broken Link Check 🔗
uses: technote-space/broken-link-checker-action@v2
with:
target: ./public/**/*.html

- name: Zip Site
run: bash ./script.sh

Expand Down
Loading