Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: increase heap size for macos ci

Minh14112073cc3c6d2735
diff --git a/.github/workflows/template-tauri-build-macos-external.yml b/.github/workflows/template-tauri-build-macos-external.yml
index 0357cc2a2..08ab97d3f 100644
--- a/.github/workflows/template-tauri-build-macos-external.yml
+++ b/.github/workflows/template-tauri-build-macos-external.yml
@@ -92,7 +92,8 @@ jobs:
- name: Build app
run: |
make build
- env:
+ env:
+ NODE_OPTIONS: "--max-old-space-size=4196"
APP_PATH: '.'
- name: Upload Artifact
diff --git a/.github/workflows/template-tauri-build-macos.yml b/.github/workflows/template-tauri-build-macos.yml
index 9f8d46f6c..3b4ea2c96 100644
--- a/.github/workflows/template-tauri-build-macos.yml
+++ b/.github/workflows/template-tauri-build-macos.yml
@@ -167,6 +167,7 @@ jobs:
run: |
make build
env:
+ NODE_OPTIONS: "--max-old-space-size=4196"
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APP_PATH: '.'
POSTHOG_KEY: ${{ secrets.POSTHOG_KEY }}