Skip to content

Commit 190aefc

Browse files
committed
* fix script
1 parent 99590be commit 190aefc

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/axe.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,17 @@ jobs:
1414
- name: Use Node.js
1515
uses: actions/setup-node@v3
1616
with:
17-
node-version: 15
17+
node-version: 14
1818
- run: yarn
1919
- run: yarn dist
2020
- name: Run docs site
2121
run: |
22-
npm run dev
23-
npx wait-on --timeout 5000 http://localhost:8000
24-
script/axe-docs
22+
npm run dev & npx wait-on http://localhost:8000
2523
- name: Run axe
2624
run: |
25+
cd ..
2726
script/axe-docs
2827
- name: Upload @axe-core/cli check results
2928
uses: actions/upload-artifact@master
3029
with:
3130
path: docs-example-accessibility.json
32-

script/axe-docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ do
4949
if [[ " ${needs_to_be_fixed[*]} " =~ " ${i} " ]]; then
5050
continue
5151
else
52-
doc_url="primer.style/css$i"
52+
doc_url="http://localhost:8000$i"
5353
doc_url="${doc_url//\"/}"
5454
doc_urls+=($doc_url)
5555
fi

0 commit comments

Comments
 (0)