ci(netlify): set up database generation and seeding for serverless deployment

This commit is contained in:
FalahMobile
2026-07-08 19:15:41 +08:00
parent 0cacc4fa1a
commit 5ef605d550
3 changed files with 58 additions and 7 deletions
+1 -6
View File
@@ -8,7 +8,7 @@ export default defineConfig({
workers: process.env.CI ? 1 : undefined,
reporter: 'html',
use: {
baseURL: 'http://localhost:3000',
baseURL: 'https://6a4e2de4d2a4e8009da3afbe--mobile2-staging-falah.netlify.app',
trace: 'on-first-retry',
video: 'retain-on-failure',
},
@@ -18,9 +18,4 @@ export default defineConfig({
use: { ...devices['Desktop Chrome'] },
},
],
webServer: {
command: 'node .next/standalone/server.js',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
},
});