diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 4ae5133..4de36fc 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -61,32 +61,27 @@ jobs: uses: actions/upload-pages-artifact@v2 with: path: ./public - - name: Get npx - uses: mikeal/npx@1.0.0 + #- name: Get npx + # uses: mikeal/npx@1.0.0 - - name: start static web server - run: npx http-server -p 3000 & + #- name: start static web server + # run: npx http-server -p 3000 & - # - name: get chromedriver - # uses: nanasess/setup-chromedriver@v2.2.0 - # with: - # chromedriver-version: 118 - - - name: get chromedriver - run: npm install -g chromedriver + #- name: get chromedriver + # run: npm install -g chromedriver - - 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://127.0.0.1:3000 - # axe --exit --tags wcag2aa --stdout --chromedriver-path "/opt/google/chrome/chrome" http://127.0.0.1:3000 + #- 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://127.0.0.1:3000 + # # axe --exit --tags wcag2aa --stdout --chromedriver-path "/opt/google/chrome/chrome" http://127.0.0.1:3000 - - name: Upload axe results - uses: actions/upload-pages-artifact@v2 - with: - path: ./axe-results + #- name: Upload axe results + # uses: actions/upload-pages-artifact@v2 + # with: + # path: ./axe-results # Deployment job deploy: