Skip to content

Update axe.yaml

Update axe.yaml #5

Workflow file for this run

name: axe
on:
push:
branches: [axe-testing-508]
jobs:
axe:
name: Verify 508 Compliance
runs-on: ubuntu-latest
strategy:
matrix:
pages:
- home
- explore
- studies
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js 16.x
uses: actions/setup-node@v4
with:
node-version: 16
- run: npm ci --legacy-peer-deps
- run: npx concurrently "npm start" "npx wait-on http://localhost:3000"
- name: Run axe
run: |
npm install -g @axe-core/cli
axe http://localhost:3000/${{ matrix.pages }}\
--save results/${{ matrix.pages }}-report.json
- name: Upload accessibility report
uses: actions/upload-artifact@v4
with:
name: axe-reports