Skip to content

Commit

Permalink
Update accessibility-scan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeetgarg authored Jan 28, 2025
1 parent 580907b commit 0b6110e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/accessibility-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ jobs:
- name: Install dependencies
run: npm install

- name: Install axe-core globally
run: npm install -g axe-core

- name: Run axe-core accessibility scan
run: |
npx axe-core ./ --output html --output-path ./axe-reports/accessibility-report.html
run: axe-core ./ --output html --output-path ./axe-reports/accessibility-report.html

- name: Upload axe-core report
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 0b6110e

Please sign in to comment.