mirror of
https://github.com/Xahau/xahau-web.git
synced 2025-12-06 17:27:53 +00:00
Add HTML link checker
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user