summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHippo2023-09-25 19:39:39 +0200
committerGitHub2023-09-25 19:39:39 +0200
commit930be686e7b268339ff5c3955d69239995430ff0 (patch)
tree347534eb09f6b4cb670ffedba0a675d8d8b4d5b0
parent3e1f17c9a50292f5e14ece0380884aef05369bdf (diff)
downloadIT.starlight-930be686e7b268339ff5c3955d69239995430ff0.tar.gz
IT.starlight-930be686e7b268339ff5c3955d69239995430ff0.tar.bz2
IT.starlight-930be686e7b268339ff5c3955d69239995430ff0.zip
Fix pa11y tests on Windows (#743)
-rw-r--r--.npmrc1
-rw-r--r--docs/package.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/.npmrc b/.npmrc
index f4c92139..901b4e86 100644
--- a/.npmrc
+++ b/.npmrc
@@ -1,2 +1,3 @@
prefer-workspace-packages=true
link-workspace-packages=true
+shell-emulator=true
diff --git a/docs/package.json b/docs/package.json
index 15204355..8f37406e 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -4,7 +4,7 @@
"type": "module",
"version": "0.0.1",
"scripts": {
- "test": "start-server-and-test preview http://localhost:4321 pa11y",
+ "test": "start-server-and-test 'pnpm preview' http://localhost:4321 'pnpm pa11y'",
"pa11y": "pa11y-ci --sitemap 'http://localhost:4321/sitemap-0.xml' --sitemap-find 'https://starlight.astro.build' --sitemap-replace 'http://localhost:4321' --sitemap-exclude '/(de|zh|fr|es|pt-br|it|ko)/.*'",
"dev": "astro dev",
"start": "astro dev",