File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 2929 - name : Run Playwright tests
3030 run : npx playwright test || true
3131
32+ - name : Debug files
33+ run : ls -la
34+
35+ - name : Count Playwright accessibility issues
36+ id : playwright
37+ run : |
38+ issue_count=$(jq '. | length' playwright-a11y-violations.json)
39+ echo "issue_count=$issue_count" >> $GITHUB_OUTPUT
40+
3241 - name : Upload report artifact
3342 uses : actions/upload-artifact@v4
3443 if : ${{ !cancelled() }}
3746 path : playwright-report/
3847 retention-days : 30
3948
40- - name : Count Playwright accessibility issues
41- id : playwright
42- run : |
43- issue_count=$(jq '. | length' playwright-a11y-violations.json)
44- echo "issue_count=$issue_count" >> $GITHUB_OUTPUT
45-
4649 comment-on-pr :
4750 needs : playwright
4851 if : needs.playwright.outputs.issue_count != '0'
You can’t perform that action at this time.
0 commit comments