File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ jobs:
1313 - name : Checkout
1414 uses : actions/checkout@v4
1515
16- # 1. HTML VALIDITY
16+ # 1. HTML VALIDITY
1717 - name : Validate HTML (W3C)
1818 uses : Cyb3r-Jak3/html5validator-action@v7.2.0
1919 with :
2020 root : .
2121 css : false # CSS handled separately below
2222 format : text
2323
24- # 2. CSS VALIDITY
24+ # 2. CSS VALIDITY
2525 - name : Set up Node
2626 uses : actions/setup-node@v4
2727 with :
6666 stylelint _extracted.css --allow-empty-input
6767 rm -f _extracted.css
6868
69- # 3. ACCESSIBILITY (a11y)
69+ # 3. ACCESSIBILITY (a11y)
7070 - name : Install pa11y
7171 run : npm install -g pa11y
7272
@@ -77,12 +77,14 @@ jobs:
7777 SERVER_PID=$!
7878 sleep 3
7979 pa11y http://localhost:8080 \
80+ --chromium-arg="--no-sandbox" \
81+ --chromium-arg="--disable-setuid-sandbox" \
8082 --standard WCAG2AA \
8183 --reporter cli \
8284 --timeout 30000 || (kill $SERVER_PID && exit 1)
8385 kill $SERVER_PID
8486
85- # 4. BROKEN LINKS
87+ # 4. BROKEN LINKS
8688 - name : Install lychee (link checker)
8789 uses : lycheeverse/lychee-action@v1
8890 with :
You can’t perform that action at this time.
0 commit comments