This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
VPModelFileTool/.gitea/workflows/validate.yml

27 lines
453 B
YAML
Raw Normal View History

2024-04-14 19:19:27 +00:00
name: Validate HTML site
on:
push:
branches:
- main
jobs:
build:
2024-04-14 19:21:55 +00:00
runs-on: ubuntu-22.04
2024-04-14 19:19:27 +00:00
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