mirror of
https://github.com/two-torial/webpatcher.git
synced 2024-12-18 01:35:57 +01:00
Validate HTML on PRs
This commit is contained in:
parent
7961572845
commit
9000401bf5
5
.github/html5validator.yml
vendored
Normal file
5
.github/html5validator.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
root: ./
|
||||||
|
ignore_re:
|
||||||
|
- 'An "img" element must have an "alt" attribute, except under certain conditions'
|
||||||
|
- 'Element "div" not allowed as child of element "label" in this context'
|
||||||
|
- 'The "center" element is obsolete. Use CSS instead' # initialdzero
|
16
.github/workflows/html.yml
vendored
Normal file
16
.github/workflows/html.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: HTML Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: HTML5 Validator
|
||||||
|
uses: Cyb3r-Jak3/html5validator-action@v7.2.0
|
||||||
|
with:
|
||||||
|
config: ./.github/html5validator.yml
|
||||||
|
css: true
|
@ -230,7 +230,6 @@
|
|||||||
<img src="img/gfdmxg2.png">
|
<img src="img/gfdmxg2.png">
|
||||||
<div>GuitarFreaks & DrumMania XG2</div>
|
<div>GuitarFreaks & DrumMania XG2</div>
|
||||||
</a>
|
</a>
|
||||||
</a>
|
|
||||||
<a href="gfdmxg3.html" class="gameicon">
|
<a href="gfdmxg3.html" class="gameicon">
|
||||||
<img src="img/gfdmxg3.png">
|
<img src="img/gfdmxg3.png">
|
||||||
<div>GuitarFreaks & DrumMania XG3</div>
|
<div>GuitarFreaks & DrumMania XG3</div>
|
||||||
@ -441,6 +440,7 @@
|
|||||||
<a href="sdvx2.html" class="gameicon">
|
<a href="sdvx2.html" class="gameicon">
|
||||||
<img src="img/sdvx2.png">
|
<img src="img/sdvx2.png">
|
||||||
<div>SDVX II INFINITE INFECTION</div>
|
<div>SDVX II INFINITE INFECTION</div>
|
||||||
|
</a>
|
||||||
<a href="sdvx3.html" class="gameicon">
|
<a href="sdvx3.html" class="gameicon">
|
||||||
<img src="img/sdvx.png">
|
<img src="img/sdvx.png">
|
||||||
<div>SDVX III GRAVITY WARS</div>
|
<div>SDVX III GRAVITY WARS</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user