summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGravatar Jonathan Neal <jonathantneal@hotmail.com> 2022-01-11 15:39:19 -0500
committerGravatar GitHub <noreply@github.com> 2022-01-11 15:39:19 -0500
commiteaa626de88cdd5481d7cae27ca3a3f3db0708a7c (patch)
tree2d9ede30cd392c3358128f3fe12d6824c171a4b5 /docs
parentb21dd19cb6773282aaa0eac6e5e61b92bcb85836 (diff)
downloadastro-eaa626de88cdd5481d7cae27ca3a3f3db0708a7c.tar.gz
astro-eaa626de88cdd5481d7cae27ca3a3f3db0708a7c.tar.zst
astro-eaa626de88cdd5481d7cae27ca3a3f3db0708a7c.zip
Restore accessibility check on docs site (#2362)
Diffstat (limited to 'docs')
-rw-r--r--docs/package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/package.json b/docs/package.json
index 636fd63c5..0690b95b6 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -8,7 +8,7 @@
"build": "astro build",
"preview": "astro preview",
"lint": "run-p --aggregate-output lint:linkcheck",
- "lint:a11y": "start-test 'yarn dev --silent' 3000 'yarn lint:a11y:local'",
+ "lint:a11y": "start-test 'yarn build && yarn preview' 3000 'yarn lint:a11y:local'",
"lint:a11y:local": "pa11y-ci --sitemap 'http://localhost:3000/sitemap.xml' --sitemap-find 'https://docs.astro.build' --sitemap-replace 'http://localhost:3000'",
"lint:a11y:remote": "pa11y-ci --sitemap 'https://docs.astro.build/sitemap.xml'",
"lint:linkcheck": "start-test 'yarn dev --silent' 3000 'yarn lint:linkcheck:local'",
@@ -19,6 +19,7 @@
"astro": "^0.22.0",
"broken-link-checker": "^0.7.8",
"npm-run-all": "^4.1.5",
+ "pa11y-ci": "^3.0.1",
"prettier": "^2.4.1",
"start-server-and-test": "^1.12.6"
},