Skip to content

Commit 68e9df7

Browse files
committed
allocate more ram for macos builds
1 parent 173a791 commit 68e9df7

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
uses: tauri-apps/tauri-action@v0
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
NODE_OPTIONS: "--max_old_space_size=4096"
5354
with:
5455
tagName: v__VERSION__
5556
releaseName: 'Markpad v__VERSION__'

.github/workflows/test_build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ jobs:
4949
run: npm install
5050

5151
- name: Build app
52+
env:
53+
NODE_OPTIONS: "--max_old_space_size=4096"
5254
run: npm run tauri build -- ${{ matrix.args }}
5355

5456
- name: Upload artifacts

0 commit comments

Comments
 (0)