-
Notifications
You must be signed in to change notification settings - Fork 20
33 lines (27 loc) · 940 Bytes
/
audit-a11y.yml
File metadata and controls
33 lines (27 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: audit-a11y
on: [pull_request]
permissions:
contents: read
pull-requests: write
concurrency:
group: audit-a11y-${{ github.ref }}
cancel-in-progress: true
jobs:
audit-a11y:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install dependencies
env:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: 'true'
run: yarn install --immutable --immutable-cache
- name: 'Build storybook'
run: 'yarn storybook-static'
- name: 'Audit accessibility'
uses: './.github/actions/audit-accessibility'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
azure-account-name: ${{ secrets.AZURE_ACCOUNT_NAME }}
azure-account-key: ${{ secrets.AZURE_ACCOUNT_KEY }}