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

Commit

Permalink
create the frontend dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rylew1 committed Jun 6, 2024
1 parent 23bc355 commit 3f40d91
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci-frontend-a11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,12 @@ jobs:
- name: Parse and format Pa11y results
id: parse-pa11y
run: |
# Extract and format the results
grep -oP 'Errors in .+?:\n(?:\s+• .+?\n)+' pa11y-results.txt | sed 's/^/| /; s/$/ |/; 1i | URL | Errors |' > ./frontend/pa11y-report.md
mkdir -p ./frontend
if grep -q 'Errors in' pa11y-results.txt; then
grep -oP 'Errors in .+?:\n(?:\s+• .+?\n)+' pa11y-results.txt | sed 's/^/| /; s/$/ |/; 1i | URL | Errors |' > ./frontend/pa11y-report.md
else
echo "No accessibility errors found." > ./frontend/pa11y-report.md
fi
- name: Upload screenshots
if: always()
Expand Down

0 comments on commit 3f40d91

Please sign in to comment.