Skip to content

Revert "Revert "Fix: AXE-570 Fixed a11yEngineErrors being accessed on undefined"" #114

Revert "Revert "Fix: AXE-570 Fixed a11yEngineErrors being accessed on undefined""

Revert "Revert "Fix: AXE-570 Fixed a11yEngineErrors being accessed on undefined"" #114

Workflow file for this run

name: Formatter
on: [pull_request]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Install dependencies
run: npm ci
- uses: actions/setup-node@v4
with:
node-version: 16
cache: 'npm'
# Workflows are not allowed to edit workflows. As result, we need to prevent Prettier from formatting them.
- name: Prevent workflows from being formatted
run: echo ".github" >> .prettierignore && cat .prettierignore
- run: npm run fmt
# Prevent the prettierignore change from being committed.
- run: git checkout .prettierignore
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # tag=v5
with:
commit_message: ':robot: Automated formatting fixes'