Automated accessibility evaluation #19
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: Automated accessibility evaluation | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'projects/evaluate.json' | |
jobs: | |
accessibility-evaluation: | |
name: accessibility-evaluation-${{matrix.os}} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
version: [22] | |
os: [ubuntu-latest] | |
container: buildkite/puppeteer | |
steps: | |
- name: install git | |
run: rm /etc/apt/sources.list.d/google.list && apt update && apt install -y git | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm i pa11y@6.2.3 blink-diff@1.0.13 | |
- name: Evaluation | |
run: node docs/evaluate.js | |
- name: gh ownership exception | |
run: git config --global --add safe.directory /__w/webval/webval | |
- name: increase gh buffer | |
run: git config http.postBuffer 524288000 | |
- name: Commit and push | |
if: ${{ true }} | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Automated accessibility evaluation |