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 0fa5a2f commit 8ad5040
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,21 @@ jobs:
uses: actions/upload-pages-artifact@v2
with:
path: ./public
- name: Scan for accessibility issues
uses: digihum/axe-pipelines-samples@main
# Provide any additional inputs here
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
- name: start static web server
- run: npx http-server -p 3000
- name: Run axe
- run: npm start & npx wait-on http://localhost:3000
- run: npm install -g @axe-core/cli
- run: axe --exit --tags wcag2aa --stdout http://localhost:3000
- name: Upload axe results
uses: actions/upload-pages-artifact@v2
with:
path: ./axe-results

# Deployment job
deploy:
Expand Down

0 comments on commit 8ad5040

Please sign in to comment.