Add HTML linting CI (html-validate) and config

This commit is contained in:
Stefan Koelle
2026-05-01 22:14:17 +02:00
parent 11a5f62d68
commit 2fd76f0f6b
3 changed files with 40 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
name: HTML Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
html-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Run html-validate
run: npx html-validate "**/*.html"