Skip to content

Commit

Permalink
Create html-validation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Envestoren authored Mar 6, 2024
1 parent 702c262 commit 83662f7
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/html-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: HTML Validation

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
html_validation:
name: Validate HTML
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install HTML Validator
run: npm install html-validator-cli -g

- name: Validate HTML
run: html-validator --verbose --file ./index.html

0 comments on commit 83662f7

Please sign in to comment.