Skip to content

Fix build

Fix build #228

Workflow file for this run

name: HTML/a11y
on: push
jobs:
build:
name: Test HTML and accessibility with NU HTML Checker
runs-on: ubuntu-20.04
# Test on macOS:
# brew install openjdk
# sudo ln -sfn $(brew --prefix)/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
steps:
- name: Install Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Download vnu.jar
run: wget https://github.com/validator/validator/releases/download/latest/vnu.jar
- name: Run vnu validator
run: |
java -jar vnu.jar --skip-non-html --errors-only --format text \
--filterpattern ".*contain-intrinsic-size.*" \
--filterpattern ".*only.*0.*can be a.*unit.*" \
"https://airwptheme.com/demo"