Skip to content

Commit

Permalink
Try to fix axe CI
Browse files Browse the repository at this point in the history
[this
comment](dequelabs/axe-core-npm#679 (comment))
showed me how to pin the axe and chromedriver version, to hopefully
prevent mismatches.

closes #18
  • Loading branch information
llimllib authored Mar 15, 2023
1 parent 2d1b875 commit 20136ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ jobs:
configPath: ".github/lighthouse/lighthouserc.yml"
- name: Run axe
run: |
npm install -g @axe-core/cli
axe http://localhost:3000 --exit
npm install -g @axe-core/[email protected] chromedriver@109
# https://github.com/dequelabs/axe-core-npm/issues/679#issuecomment-1456590620
axe --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver http://localhost:3000 --exit

0 comments on commit 20136ec

Please sign in to comment.