Skip to content

arkea fallback

arkea fallback #56

Workflow file for this run

name: ♿️ A11Y CI with Pa11y
on:
pull_request:
paths:
- '**/.github/workflows/pa11y.yml'
- '**/.pa11yci'
workflow_dispatch:
inputs:
website:
required: true
type: string
description: Website to audit
env:
WEBSITE_TO_AUDIT: ${{ inputs.website || 'https://www.cmb.fr/reseau-bancaire-cooperatif/web/devenir-client-3' }}
jobs:
Pa11y-CLI:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Pa11y CI
run: npm install -g pa11y-ci
- name: Run Pa11y CLI
id: pa11y
uses: mathiasvr/command-output@v1
with:
run: pa11y-ci $WEBSITE_TO_AUDIT -c ./.pa11yci
- name: Comment pull request
uses: marocchino/sticky-pull-request-comment@v2
if: always()
with:
GITHUB_TOKEN: ${{ secrets.GHTOKEN }}
header: pa11y-comment
recreate: true
message: |
## ♿️ Pa11y report
Audited website : ${{ env.WEBSITE_TO_AUDIT }}
```
${{ steps.pa11y.outputs.stdout }}
${{ steps.pa11y.outputs.stderr }}
```
*This report has been generated using [pa11y-ci](https://github.com/pa11y/pa11y-ci).*