build(deps-dev): bump @axe-core/watcher from 3.15.2 to 3.16.1 #56
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: Accessibility Tests | |
on: | |
pull_request: | |
paths: | |
- "**/*.ts" | |
- "**/*.js" | |
- "package.json" | |
- "package-lock.json" | |
jobs: | |
accessibility: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install pnpm | |
run: npm install -g pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run Accessibility Tests | |
env: | |
AXE_API_KEY: ${{ secrets.AXE_API_KEY }} | |
run: npx playwright test --grep "@accessibility" | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-accessibility-report | |
path: playwright-report/ | |
retention-days: 7 |