diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3940b02c99..2786068d84 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -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 diff --git a/src/aimcore/web/ui/package.json b/src/aimcore/web/ui/package.json index 668a3b53f7..2d68af0140 100644 --- a/src/aimcore/web/ui/package.json +++ b/src/aimcore/web/ui/package.json @@ -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",