ci: lower Angular build peak memory on Pi
continuous-integration/drone/push Build was killed

Serialize esbuild/Angular workers and cap the Node heap under the
2GiB Drone step limit so SSR builds trade time for surviving OOM.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
miczekandCursor committed 2026-10-15 03:42:36 +03:00
1 parent ce66c526b7
commit 23a2f81898
1 file changed
+3
+3
View File
@@ -15,6 +15,9 @@ steps:
- name: build - name: build
image: oven/bun:1-alpine image: oven/bun:1-alpine
environment: environment:
# Serialise Angular workers — lower peak RAM, longer build (Pi-friendly)
NG_BUILD_MAX_WORKERS: "1"
NODE_OPTIONS: "--max-old-space-size=1536"
STRAVA_CLIENT_ID: STRAVA_CLIENT_ID:
from_secret: strava_client_id from_secret: strava_client_id
STRAVA_REDIRECT_URI: STRAVA_REDIRECT_URI: