Merge pull request #737 from ministryofjustice/bugfix/DST-16482 #818
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Accessibility | |
on: | |
push: | |
paths: | |
- ui/** | |
- .github/workflows/accessibility.yml | |
jobs: | |
accessibility-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup | |
- name: Run accessibility checks | |
run: | | |
./gradlew assemble | |
SPRING_PROFILES_ACTIVE=dev ./gradlew bootRun & | |
npm run accessibility --prefix=ui | |
./gradlew --stop | |
- name: Upload test report | |
if: always() | |
uses: actions/upload-artifact@v1 | |
with: | |
name: accessibility-report | |
path: ui/pa11y-ci-report |