Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rylew1 committed Jun 4, 2024
1 parent 6e027fa commit e226341
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-frontend-a11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
NODE_VERSION: 18
LOCKFILE_PATH: ./frontend/package-lock.json
PACKAGE_MANAGER: npm
DEBUG: 'pa11y*' # Enable pa11y debug logs

jobs:
build:
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
- name: Run pa11y-ci
run: npm run test:pa11y 2>&1 | tee pa11y_output.txt

- name: Debug pa11y-ci failure
- name: Capture pa11y-ci failure logs
if: failure()
run: cat pa11y_output.txt || echo "pa11y_output.txt not found"

Expand Down

0 comments on commit e226341

Please sign in to comment.