Skip to content

Commit 59fea27

Browse files
πŸ› fix(github/workflows): fix pa11y setup
1 parent c60368c commit 59fea27

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

β€Ž.github/workflows/pa11y.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: yarn start & sleep 5
4242

4343
- name: Run pa11y-ci
44-
run: yarn pa11y-ci:sitemap 2>&1 | tee pa11y_output.txt
44+
run: yarn lint:a11y 2>&1 | tee pa11y_output.txt
4545

4646
- name: Read pa11y_output
4747
id: pa11y_output

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"start": "next start",
1414
"lint": "next lint",
1515
"lint:deadcode": "! ts-prune | grep -v \"used in module\"",
16+
"lint:a11y": "pa11y-ci --sitemap http://localhost:3000/sitemap.xml --sitemap-exclude \"/*.pdf\"",
1617
"format": "prettier --write src/",
1718
"codegen:schema": "graphql-codegen --config codegen.ts --require dotenv/config",
1819
"codegen:linkedin": "esno scripts/codegen-linkedin.ts"

0 commit comments

Comments
Β (0)