diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index a50c4f5..ed70ab8 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -66,9 +66,14 @@ jobs: - name: start static web server run: npx http-server -p 3000 & - + + - name: get chrome major version + run: CHROME_MAJOR_VERSION=$(google-chrome --version | sed -E "s/.* ([0-9]+)(\.[0-9]+){3}.*/\1/") + - name: get chromedriver uses: nanasess/setup-chromedriver@v2.2.0 + with: + chromedriver-version: $CHROME_MAJOR_VERSION - name: Run axe run: |