obtain validatornu release from npm

This commit is contained in:
Daniel Micay
2023-01-07 22:07:46 -05:00
parent 2913932810
commit c772b17f79
4 changed files with 18 additions and 21 deletions

View File

@@ -77,7 +77,7 @@ sed -i "$replace" static-tmp/releases.html
gixy nginx-tmp/nginx.conf
xmllint --noout static-tmp/**/*.html
validatornu --errors-only --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \
--process-scripts "application/ld+json" --collapse-boolean-attributes \
--remove-attribute-quotes --remove-comments --remove-empty-attributes \