Skip to content

Commit

Permalink
Update hugo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
denseflux authored Oct 17, 2023
1 parent c952023 commit bc26b88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,14 @@ jobs:
run: npx http-server -p 3000 &

- name: get chromedriver
run: npx chromedriver &
uses: nanasess/setup-chromedriver@v2.2.0

- name: Run axe
run: |
chromedriver --url-base=/wd/hub &
npx wait-on http://127.0.0.1:3000
npm install -g @axe-core/cli
axe --exit --tags wcag2aa --stdout --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver http://localhost:3000
axe --exit --tags wcag2aa --stdout http://localhost:3000
- name: Upload axe results
uses: actions/upload-pages-artifact@v2
Expand Down

0 comments on commit bc26b88

Please sign in to comment.