pipeline(mse-rgaa): correction installation/execution pa11y
Voir CNOUS/mse#664
This commit is contained in:
@ -35,7 +35,7 @@ RUN apk add --no-cache \
|
||||
chromium \
|
||||
bash
|
||||
|
||||
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y pa11y-reporter-html@^1.0.0 pa11y-reporter-junit
|
||||
RUN PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install -g pa11y@^5.0.0 pa11y-reporter-html@^1.0.0 pa11y-reporter-junit
|
||||
|
||||
RUN adduser -D pa11y
|
||||
|
||||
|
@ -9,6 +9,7 @@ cd reports
|
||||
|
||||
export PUPPETEER_EXECUTABLE_PATH=$(which chromium-browser)
|
||||
export PA11Y_REPORTER="${PA11Y_REPORTER:-html}"
|
||||
export PA11Y_STANDARD=${PA11Y_STANDARD:-WCAG2AA}
|
||||
|
||||
PA11Y_ARGS=""
|
||||
|
||||
|
Reference in New Issue
Block a user