Skip to content

Commit

Permalink
improvement but probably still not working
Browse files Browse the repository at this point in the history
  • Loading branch information
beechnut committed May 17, 2023
1 parent ddcc077 commit 5d88633
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/a11y.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
run: npm install

- name: Run server in background
run: npm run serve-bg
run: hugo serve &

- name: Run pa11y-ci
- name: Run pa11y-ci on homepage
run: npm run pa11y-ci:homepage

- name: Run pa11y-ci on sitemap
run: npm run pa11y-ci:sitemap
4 changes: 3 additions & 1 deletion .github/workflows/package.json → package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"scripts": {
"build": "hugo",
"serve-bg": "hugo serve &",
"pa11y-ci:sitemap": "pa11y-ci --sitemap http://localhost:1313/sitemap.xml --sitemap-exclude \"/*.pdf\""
"pa11y-ci:homepage": "pa11y-ci --sitemap http://localhost:1313",
"pa11y-ci:sitemap": "pa11y-ci --sitemap http://localhost:1313/en/sitemap.xml --sitemap-exclude \"/*.pdf\""
},
"devDependencies": {
"pa11y-ci": "^2.4.0"
Expand Down

0 comments on commit 5d88633

Please sign in to comment.