start already built

This commit is contained in:
Elio Bischof
2024-10-19 01:16:59 +02:00
parent bdfbd94661
commit 3ce1703055
4 changed files with 5 additions and 1 deletions

View File

@@ -22,7 +22,9 @@
"lint:fix": "prettier --write .",
"lint-staged": "lint-staged",
"build": "next build",
"prestart": "pnpm build",
"start": "next start",
"start:built": "next start",
"clean": "pnpm mock:destroy && rm -rf .turbo && rm -rf node_modules && rm -rf .next"
},
"git": {

View File

@@ -7,6 +7,7 @@
"build": "turbo run build",
"test": "turbo run test",
"start": "turbo run start",
"start:built": "turbo run start:built",
"test:unit": "turbo run test:unit -- --passWithNoTests",
"test:integration": "turbo run test:integration",
"test:acceptance": "pnpm exec playwright test",

View File

@@ -73,7 +73,7 @@ export default defineConfig({
/* Run local dev server before starting the tests */
webServer: {
command: "pnpm start",
command: "pnpm start:built",
url: "http://127.0.0.1:3000",
reuseExistingServer: !process.env.CI,
timeout: 5 * 60_000,

View File

@@ -22,6 +22,7 @@
"build": {},
"test": {},
"start": {},
"start:built": {},
"test:unit": {},
"test:integration": {},
"test:watch": {