Skip to content

Commit

Permalink
ci: replace vnu html validator by html-validate (#486)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Jan 15, 2024
1 parent e62b7dd commit 4b94d6e
Show file tree
Hide file tree
Showing 6 changed files with 311 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .htmlvalidate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": ["html-validate:standard"],
"rules": {
"element-required-content": "off",
"element-permitted-content": "off",
"no-raw-characters": "off"
}
}
3 changes: 2 additions & 1 deletion .tarignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
.jsbeautify*
.prettier*
.eslintrc*
.chglog
.htmlvalidate*
.lycheeignore*
example*
webpack*
svgsprite*
Expand Down
Empty file removed .vnuignore
Empty file.
9 changes: 6 additions & 3 deletions .woodpecker/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
image: docker.io/library/node:lts
commands:
- npm install --quiet --no-progress
- npm run lint
- npm run lint:js
environment:
FORCE_COLOR: "true"

Expand All @@ -29,10 +29,13 @@ steps:
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/

- name: html-validation
image: quay.io/thegeeklab/vnu
image: docker.io/library/node:lts
group: test
commands:
- vnu --skip-non-html --also-check-css --errors-only --filterfile .vnuignore exampleSite/public
- npm install --quiet --no-progress
- npm run lint:html
environment:
FORCE_COLOR: "true"

- name: link-validation
image: docker.io/lycheeverse/lychee
Expand Down
291 changes: 291 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4b94d6e

Please sign in to comment.