Compare commits
2 Commits
7012f0fdd2
...
d7e427f164
| Author | SHA1 | Date | |
|---|---|---|---|
|
d7e427f164
|
|||
|
a9c25917f0
|
@@ -1 +1,4 @@
|
||||
pnpm run test:ci
|
||||
# Only run CI tests when files under src/ are changed
|
||||
if git diff --cached --name-only | grep -q '^src/'; then
|
||||
pnpm run test:ci
|
||||
fi
|
||||
|
||||
@@ -103,9 +103,9 @@ http {
|
||||
access_log off;
|
||||
}
|
||||
|
||||
# Default location
|
||||
# Default location: try $uri.html so /services serves services.html, /services/foo serves services/foo.html
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri $uri.html $uri/ /index.html;
|
||||
}
|
||||
|
||||
# 410 Gone: permanently removed URLs (tells crawlers to deindex)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"test:e2e": "bash scripts/run-e2e.sh",
|
||||
"test:e2e:update-snapshots": "bash scripts/update-e2e-snapshots.sh",
|
||||
"test:all": "vitest run && playwright test",
|
||||
"test:ci": "pnpm run lint && pnpm run lint:css && pnpm exec svelte-kit sync && pnpm test && pnpm run test:e2e",
|
||||
"test:ci": "pnpm run lint && pnpm run lint:css && pnpm exec svelte-kit sync && pnpm test && pnpm run test:e2e && pnpm install --config.confirmModulesPurge=false",
|
||||
"test:watch": "vitest",
|
||||
"prepare": "husky"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user