Skip to content

Commit

Permalink
Add --max_old_space_size to the other build command as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mihran113 committed Jul 11, 2023
1 parent 3dfa5d0 commit 43bb2f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
jobs:
aim-ui-dist:
if: ${{ github.event_name == 'schedule' || github.actor == 'gorarakelyan' || github.actor == 'alberttorosyan' || github.actor == 'roubkar' }}
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions src/aimcore/web/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
"zustand": "^4.1.1"
},
"scripts": {
"start": "cross-env SKIP_PREFLIGHT_CHECK=true node --no-deprecation node_modules/react-scripts/scripts/start.js craco --max_old_space_size=8192 start",
"build": "cross-env SKIP_PREFLIGHT_CHECK=true node --no-deprecation node_modules/react-scripts/scripts/build.js craco --max_old_space_size=8192 build && gzipper c -i js,css,html ./build && node tasks/index-html-template-generator.js",
"start": "cross-env SKIP_PREFLIGHT_CHECK=true node --no-deprecation node_modules/react-scripts/scripts/start.js craco --max_old_space_size=4096 start",
"build": "cross-env SKIP_PREFLIGHT_CHECK=true node --max_old_space_size=4096 --no-deprecation node_modules/react-scripts/scripts/build.js craco --max_old_space_size=4096 build && gzipper c -i js,css,html ./build && node tasks/index-html-template-generator.js",
"test": "cross-env SKIP_PREFLIGHT_CHECK=true craco test ",
"test:coverage": "cross-env SKIP_PREFLIGHT_CHECK=true craco test --collectCoverage",
"test:watch": "cross-env SKIP_PREFLIGHT_CHECK=true craco test --watchAll",
Expand Down

0 comments on commit 43bb2f2

Please sign in to comment.