ci: run e2e on alternate ports (3100/3101) to avoid collision with prod stack on host runner

This commit is contained in:
Hermes Coding Manager
2026-08-10 06:58:57 -04:00
parent 9e2d55d03a
commit 6449f6b4cc
4 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"dev": "vite --port 3000",
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit"
+3 -3
View File
@@ -10,14 +10,14 @@ export default defineConfig({
},
},
server: {
port: 3000,
port: parseInt(process.env.VITE_PORT || "3000", 10),
proxy: {
"/api": {
target: "http://localhost:3001",
target: process.env.API_PROXY_TARGET || "http://localhost:3001",
changeOrigin: true,
},
"/mcp": {
target: "http://localhost:3001",
target: process.env.API_PROXY_TARGET || "http://localhost:3001",
changeOrigin: true,
},
},