Skip to content

Commit 56d6082

Browse files
committed
max old space size
1 parent 13cdf09 commit 56d6082

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
run: yarn run package
3838
env:
3939
NODE_ENV: production
40+
NODE_OPTIONS: --max-old-space-size=4096
41+
CI: true
4042

4143
- name: Upload build artifacts
4244
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: 'Release version (e.g., v1.0.0)'
7+
description: "Release version (e.g., v1.0.0)"
88
required: true
99
type: string
1010

@@ -24,8 +24,8 @@ jobs:
2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: '20'
28-
cache: 'yarn'
27+
node-version: "22"
28+
cache: "yarn"
2929
cache-dependency-path: app/yarn.lock
3030

3131
- name: Install dependencies
@@ -37,6 +37,8 @@ jobs:
3737
run: yarn run make
3838
env:
3939
NODE_ENV: production
40+
NODE_OPTIONS: --max-old-space-size=4096
41+
CI: true
4042

4143
- name: Upload release artifacts
4244
uses: actions/upload-artifact@v4
@@ -57,8 +59,8 @@ jobs:
5759
- name: Setup Node.js
5860
uses: actions/setup-node@v4
5961
with:
60-
node-version: '20'
61-
cache: 'yarn'
62+
node-version: "22"
63+
cache: "yarn"
6264
cache-dependency-path: extension/yarn.lock
6365

6466
- name: Install dependencies

0 commit comments

Comments
 (0)