Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Adding html5validator action
Browse files Browse the repository at this point in the history
  • Loading branch information
themantre committed Aug 1, 2023
1 parent 49b1609 commit 7cb6ca7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
yarn run lint:md
html-proofer:
name: Check for broken links
name: Check for broken links and HTML5 Validator
runs-on: ubuntu-latest
steps:
- name: Clone repository
Expand All @@ -63,3 +63,8 @@ jobs:
##
## By swap-urls, we don't get error if we rename or move a document.
- run: htmlproofer --swap-urls 'https\://pactus.org:' --ignore-status-codes "999,429,403" --check_internal_hash=false --ignore-urls=/cdn./,/discord.gg/,/t.me/,/tools.ietf.org/ ./_site

- name: HTML5Validator
uses: Cyb3r-Jak3/html5validator-action
with:
root: _site/

0 comments on commit 7cb6ca7

Please sign in to comment.