Skip to content

Commit 9cf6609

Browse files
committed
debug
1 parent 76af5cd commit 9cf6609

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/playwright.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ jobs:
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() }}
@@ -37,12 +46,6 @@ jobs:
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'

0 commit comments

Comments
 (0)