Skip to content

Commit

Permalink
Moved node memory setting to crossmodel-app prepare (since issue occu…
Browse files Browse the repository at this point in the history
…rs there).
  • Loading branch information
harmen-xb committed Apr 16, 2024
1 parent 260b8bd commit 9a16c95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test.yml
Expand Up @@ -11,8 +11,6 @@ defaults:

jobs:
build-and-test:
env:
NODE_OPTIONS: --max_old_space_size=8192
name: ${{ matrix.os }}

strategy:
Expand Down
2 changes: 1 addition & 1 deletion applications/electron-app/package.json
Expand Up @@ -25,7 +25,7 @@
"package:post": "rimraf plugins/crossmodel-lang* && yarn --cwd ../../extensions/crossmodel-lang symlink",
"package:pre": "rimraf dist && rimraf plugins/crossmodel-lang && yarn package:extensions",
"package:preview": "yarn package:pre && electron-builder -c.mac.identity=null --dir && yarn package:post",
"prepare": "theia build --mode development && yarn download:plugins",
"prepare": "export NODE_OPTIONS=--max_old_space_size=8192 && theia build --mode development && yarn download:plugins",
"rebuild": "theia rebuild:electron --cacheRoot ../..",
"start": "cross-env NODE_ENV=development theia start --plugins=local-dir:plugins",
"test": "jest --passWithNoTests",
Expand Down

0 comments on commit 9a16c95

Please sign in to comment.