Skip to content

Format html with html-validator #1

Format html with html-validator

Format html with html-validator #1

Workflow file for this run

# eustasy/.Normal 4.0beta8
name: Normal (HTML)
on:
workflow_dispatch:
push:
branches: [main]
paths: ["**.html", "**.htm"]
pull_request:
branches: [main]
paths: ["**.html", "**.htm"]
permissions:
contents: read
jobs:
html:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: lts/*
- name: Lint HTML (html-validate)
run: git ls-files -- '*.html' '*.htm' | xargs -r npx --yes html-validate --config .qlty/configs/.htmlvalidate.json