From ef5467b6c7143474fdad6f0da8453d4481a202d4 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Sun, 14 Sep 2025 15:09:52 -0600 Subject: [PATCH] Update ci.yaml --- .gitea/workflows/ci.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 9eb360a..7b24cbb 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -175,8 +175,9 @@ jobs: # Start Next with explicit memory settings for CI stability echo "🚀 Starting Next.js server on $HOST:$PORT..." - # Use nohup to ensure the process survives and redirect output properly - 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 & + # Set environment variable and start server + 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=$! echo "$SVPID" > .next/runner.pid echo "🌐 Server PID: $SVPID"