Skip to content

Commit

Permalink
Update axe.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
huuaho authored Dec 17, 2024
1 parent c920811 commit c5486d0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/axe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,16 @@ jobs:
with:
node-version: 16
- run: npm ci --legacy-peer-deps
- run: npm start & npx wait-on http://localhost:3000/${{ matrix.pages }}

- 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 --exit
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

0 comments on commit c5486d0

Please sign in to comment.