Add .gitea/workflows/validate.yml
Some checks are pending
Validate HTML site / build (push) Waiting to run

This commit is contained in:
Stijn Bannink 2024-04-14 19:19:27 +00:00
parent 37f07ba8d5
commit 1719067030

View file

@ -0,0 +1,26 @@
name: Validate HTML site
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install htmlhint --save-dev
- name: Check HTML syntax
run: npx htmlhint "**/*.html"
continue-on-error: true