Skip to content

Commit

Permalink
Update axe-accessibility-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nwanduka authored Apr 4, 2024
1 parent e1e8c16 commit 5f8f5c6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/axe-accessibility-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- name: Start Docker Container
run: |
docker run -d -p 80:80 my-apache-server
sleep 5 # Wait for container to start
docker ps # Display running containers for debugging
- run: npm start & npx wait-on http://localhost:4010
- name: Run axe
run: |
npm install -g @axe-core/cli
axe http://localhost:80 --exit
axe http://localhost:4010 --exit

0 comments on commit 5f8f5c6

Please sign in to comment.