Skip to content

Commit

Permalink
add chromedriver
Browse files Browse the repository at this point in the history
  • Loading branch information
denseflux authored Oct 17, 2023
1 parent 7e0a019 commit 7be9169
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,20 @@ jobs:
path: ./public
- name: Use Node.js 16
uses: mikeal/npx@1.0.0

- name: start static web server
run: npx http-server -p 3000 &

- name: get chromedriver
uses: nanasess/setup-chromedriver@v2
- run: chromedriver --url-base=/wd/hub &

- name: Run axe
run: |
npx wait-on http://127.0.0.1:3000
npm install -g @axe-core/cli
axe --exit --tags wcag2aa --stdout http://localhost:3000
- name: Upload axe results
uses: actions/upload-pages-artifact@v2
with:
Expand Down

0 comments on commit 7be9169

Please sign in to comment.