Skip to content

Commit 64a60ba

Browse files
committed
Try to make Zola run in background, again
1 parent 4f1a3c7 commit 64a60ba

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,9 @@ jobs:
296296
FILE_NAME: ".pa11yci"
297297
FILE_DATA: "{\n \"defaults\": {\n \"chromeLaunchConfig\": {\n \"executablePath\": \"${{ steps.setup-chrome.outputs.chrome-path }} \"\n }\n }\n}"
298298

299-
- name: Serve Zola
300-
run: zola serve &
301-
302299
- name: Run Pa11y-CI
303-
run: npx pa11y-ci --sitemap http://127.0.0.1:1111/sitemap.xml
300+
run: |
301+
zola serve &
302+
ping 127.0.0.1 -n 6 > nul
303+
netstat -o -n -a | findstr 1111
304+
npx pa11y-ci --sitemap http://127.0.0.1:1111/sitemap.xml

0 commit comments

Comments
 (0)