Update ci.yaml
CI Pipeline / test (20) (pull_request) Successful in 2m52s
CI Pipeline / test (18) (pull_request) Successful in 3m14s
CI Pipeline / e2e (chromium) (pull_request) Successful in 3m3s
CI Pipeline / e2e (firefox) (pull_request) Successful in 5m32s
CI Pipeline / e2e (webkit) (pull_request) Successful in 3m35s
CI Pipeline / performance (pull_request) Successful in 2m29s
CI Pipeline / storybook (pull_request) Successful in 1m35s
CI Pipeline / lint (pull_request) Successful in 1m14s
CI Pipeline / visual-regression (pull_request) Successful in 6m6s
CI Pipeline / build (pull_request) Successful in 1m33s

This commit is contained in:
adilallo
2025-09-14 15:09:52 -06:00
parent a878fdf72f
commit ef5467b6c7
+3 -2
View File
@@ -175,8 +175,9 @@ jobs:
# Start Next with explicit memory settings for CI stability # Start Next with explicit memory settings for CI stability
echo "🚀 Starting Next.js server on $HOST:$PORT..." echo "🚀 Starting Next.js server on $HOST:$PORT..."
# Use nohup to ensure the process survives and redirect output properly # Set environment variable and start server
nohup NODE_OPTIONS="--max-old-space-size=4096" node node_modules/next/dist/bin/next start -p "$PORT" -H "$HOST" > .next/runner.log 2>&1 & export NODE_OPTIONS="--max-old-space-size=4096"
nohup node node_modules/next/dist/bin/next start -p "$PORT" -H "$HOST" > .next/runner.log 2>&1 &
SVPID=$! SVPID=$!
echo "$SVPID" > .next/runner.pid echo "$SVPID" > .next/runner.pid
echo "🌐 Server PID: $SVPID" echo "🌐 Server PID: $SVPID"