Skip to content

Commit 351a4f0

Browse files
LI-116181 fix JavaScript heap out of memory
1 parent 861c739 commit 351a4f0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
test:
1414
runs-on: ubuntu-latest
15+
env:
16+
NODE_OPTIONS: "--max_old_space_size=4096"
1517

1618
strategy:
1719
fail-fast: false
@@ -25,8 +27,7 @@ jobs:
2527
with:
2628
node-version: ${{ matrix.node-version }}
2729
cache: 'npm'
28-
env:
29-
NODE_OPTIONS: "--max_old_space_size=4096"
30+
3031

3132
- run: |
3233
npm install
@@ -35,6 +36,8 @@ jobs:
3536
3637
code-coverage:
3738
runs-on: ubuntu-latest
39+
env:
40+
NODE_OPTIONS: "--max_old_space_size=4096"
3841

3942
strategy:
4043
fail-fast: false

0 commit comments

Comments
 (0)