Séparation de pa11y et lighthouse

This commit is contained in:
2020-08-10 15:03:40 +02:00
parent b2f0a6c182
commit 7f2ef25102
9 changed files with 134 additions and 14 deletions

View File

@ -3,7 +3,6 @@
set -x
envtpl -o config.js /home/lighthouse/config.js.tmpl
envtpl -o patty.json /home/lighthouse/patty.json.tmpl
mkdir -p reports
rm -f reports/*
@ -18,11 +17,3 @@ lighthouse \
--output-path=lighthouse \
-- \
"$LIGHTHOUSE_URL"
export PUPPETEER_EXECUTABLE_PATH=$(which chromium-browser)
pa11y --reporter html \
--config ../patty.json \
--include-warnings \
--include-notices \
"$LIGHTHOUSE_URL" > pa11y.report.html || exit 0