From c868bd593096771081c35434d0288fdfaca4b768 Mon Sep 17 00:00:00 2001 From: tequ Date: Tue, 18 Nov 2025 22:43:35 +0900 Subject: [PATCH] Add HTML link checker --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecb7505..2ddc6a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI +name: Build and Test on: push: @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true jobs: - build: + build-and-test: runs-on: ubuntu-latest steps: @@ -35,3 +35,9 @@ jobs: - name: Build Astro project 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