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 cf048fc commit 580907b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/accessibility-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ jobs:
- name: Install dependencies
run: npm install

- name: Install axe-core
run: npm install axe-core --save-dev

- name: Run axe-core
run: npx axe . --save --dir ./axe-reports
- name: Run axe-core accessibility scan
run: |
npx axe-core ./ --output html --output-path ./axe-reports/accessibility-report.html
- name: Upload axe-core report
uses: actions/upload-artifact@v3
with:
name: axe-report
path: ./axe-reports
path: ./axe-reports/accessibility-report.html

0 comments on commit 580907b

Please sign in to comment.