Add HTML link checker

This commit is contained in:
tequ
2025-11-18 22:43:35 +09:00
parent fbc68e383f
commit c868bd5930

View File

@@ -1,4 +1,4 @@
name: CI name: Build and Test
on: on:
push: push:
@@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
build: build-and-test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -35,3 +35,9 @@ jobs:
- name: Build Astro project - name: Build Astro project
run: npm run build run: npm run build
- name: Run HTML Link test
run: |
curl https://htmltest.wjdp.uk | bash
echo "IgnoreDirectoryMissingTrailingSlash: True" > .htmltest.yml
./bin/htmltest --conf .htmltest.yml --skip-external dist