From bc26b88490fa4e4f7d380d30ff2e6d08e9eb9904 Mon Sep 17 00:00:00 2001 From: denseflux Date: Tue, 17 Oct 2023 16:53:49 +0100 Subject: [PATCH] Update hugo.yml --- .github/workflows/hugo.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 962017d..2854ade 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -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