Raise Node heap limit in CI to avoid Vite OOM during frontend build.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
816bf636de
commit
73e4e73980
1 file changed
+3
@@ -12,6 +12,9 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: Type-check & Build
|
name: Type-check & Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
# CAD/OCR/3D viewer assets make Vite exceed the default ~2GB heap
|
||||||
|
NODE_OPTIONS: --max-old-space-size=8192
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in new issue
Block a user