Skip to content

Commit

Permalink
Use stable chrome version for running pa11y-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswilty committed Jan 27, 2025
1 parent d267ab5 commit 3005105
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check-a11y-of-changed-content.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ jobs:
run: npm ci

- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
id: setup-chrome
uses: browser-actions/setup-chrome@v1
with:
chrome-version: 'stable'

- name: Wait for blog to be running
run: npx wait-on http://localhost:4000 --timeout 60000

- name: Run pa11y-ci
run: CHROMIUM_BIN=$(which chrome) npx pa11y-ci
run: CHROMIUM_BIN=${{ steps.setup-chrome.outputs.chrome-path }} npx pa11y-ci

0 comments on commit 3005105

Please sign in to comment.