Skip to content

Commit 5de44ba

Browse files
Alek99Alek99
andauthored
Add NODE_OPTIONS to deploy workflows (#1461)
* Update * Add NODE_OPTIONS to deploy workflows - Set NODE_OPTIONS='--max-old-space-size=8192' in all deploy workflows - This helps prevent Node.js memory issues during deployment builds - Applied to deploy-dev.yml, deploy-prd.yml, and deploy-stg.yml --------- Co-authored-by: Alek99 <[email protected]>
1 parent be6aa74 commit 5de44ba

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions:
1414
contents: read
1515

1616
env:
17+
NODE_OPTIONS: "--max-old-space-size=8192"
1718
CP_WEB_URL: https://cloud.rxc.app/
1819
CP_BACKEND_URL: https://cloud-f188e2cd-51fb-4b29-b546-2ce4b9efc5d5.fly.dev/
1920

.github/workflows/deploy-prd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ permissions:
1212
contents: read
1313

1414
env:
15+
NODE_OPTIONS: "--max-old-space-size=8192"
1516
FLY_API_TOKEN: ${{ secrets.PRD_FLY_API_TOKEN }}
1617

1718
jobs:

.github/workflows/deploy-stg.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ permissions:
1313
contents: read
1414

1515
env:
16+
NODE_OPTIONS: "--max-old-space-size=8192"
1617
FLY_API_TOKEN: ${{ secrets.STG_FLY_API_TOKEN }}
1718
CP_WEB_URL: https://cloud.reflexcorp.run/
1819
CP_BACKEND_URL: https://cloud-29f4f535-4fb8-48b9-8b55-2000f2782aee.fly.dev/

0 commit comments

Comments
 (0)