Séparation de pa11y et lighthouse
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user