validate_static: check Web Manifest JSON

This commit is contained in:
Daniel Micay 2020-05-06 15:14:27 -04:00
parent 9d68744f20
commit 7c1d53613f
2 changed files with 6 additions and 5 deletions

View File

@ -31,7 +31,7 @@ jobs:
path: vnu-runtime-image path: vnu-runtime-image
key: ${{ runner.os }}-validator-${{ env.VALIDATOR_VERSION }} key: ${{ runner.os }}-validator-${{ env.VALIDATOR_VERSION }}
- run: sudo apt-get -y install libxml2-utils - run: sudo apt-get -y install libxml2-utils yajl-tools
- run: npm install - run: npm install
- name: Download validatornu - name: Download validatornu

View File

@ -5,6 +5,7 @@ shopt -s extglob globstar
export PATH="$PWD/node_modules/.bin:$PATH" export PATH="$PWD/node_modules/.bin:$PATH"
json_verify < static/manifest.webmanifest
xmllint --noout static/**/*.@(html|svg|xml) xmllint --noout static/**/*.@(html|svg|xml)
jshint --verbose static/**/*.js jshint --verbose static/**/*.js
stylelint static/**/*.css stylelint static/**/*.css