We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb5dcee + 67ced4b commit 97fb259Copy full SHA for 97fb259
1 file changed
.github/workflows/axe-a11y-check.yml
@@ -1,4 +1,5 @@
1
name: axe
2
+
3
on:
4
push:
5
branches:
@@ -8,6 +9,7 @@ on:
8
9
10
- master
11
- develop
12
13
jobs:
14
axe:
15
runs-on: ubuntu-latest
@@ -27,7 +29,12 @@ jobs:
27
29
- name: Install specific version of ChromeDriver
28
30
run: npm install -g chromedriver@125
31
- name: Run axe
32
+ id: axe-test
33
run: |
34
npm install -g @axe-core/cli
35
sleep 90
- axe http://127.0.0.1:8080 --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --exit
36
+ axe http://127.0.0.1:8080 --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver --exit || echo "status=warning" >> $GITHUB_ENV
37
38
+ - name: Set output status to warning (if test fails)
39
+ if: env.status == 'warning'
40
+ run: echo "::warning::Accessibility tests failed, but this does not block (most) PRs."
0 commit comments