ci(action): remove total count for errors #814
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-container: | |
name: End to End | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: A11yWatch website scan | |
id: a11ywatch-results-generator | |
uses: ./ | |
with: | |
WEBSITE_URL: ${{ secrets.WEBSITE_URL }} | |
FAIL_ERRORS_COUNT: 20 | |
EXTERNAL: true | |
SITE_WIDE: true | |
LIST: true | |
UPLOAD: true | |
A11YWATCH_TOKEN: ${{ secrets.A11YWATCH_TOKEN }} | |
env: | |
DEFAULT_RUNNERS: htmlcs | |
# no effect when EXTERNAL: true. The configuration needs to be applied on the dashboard for the website. | |
PAGEMIND_IGNORE_WARNINGS: true | |
- name: Get Results | |
run: | | |
echo "website accessibility score ${{ fromJson(steps['a11ywatch-results-generator'].outputs.results).data[0].issuesInfo.accessScore }}" | |
echo ${{ toJSON(steps['a11ywatch-results-generator'].outputs.results) }} | jq ". | tojson" |