diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e5aac947e3..5c1b8a6219 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -37,7 +37,8 @@ jobs: # echo "@infragistics:registry=https://packages.infragistics.com/npm/js-licensed/" >> ~/.npmrc # echo "//packages.infragistics.com/npm/js-licensed/:_auth=${{ secrets.PROGET_TOKEN }}" >> ~/.npmrc # echo "//packages.infragistics.com/npm/js-licensed/:always-auth=true" >> ~/.npmrc - + - name: set heap size + run: set NODE_OPTIONS=--max-old-space-size=16000 - name: npm ci run: npm ci - name: Build diff --git a/browser/package.json b/browser/package.json index 0af6ebbd8a..4536802ceb 100644 --- a/browser/package.json +++ b/browser/package.json @@ -10,7 +10,7 @@ "lintBrowser": "eslint ./src/**/*.{ts,tsx} ./src/*.{ts,tsx}", "lintSamples": "eslint ../samples/**/**/**/*.{ts,tsx} ./templates/**/src/*.{ts,tsx} ", "start": "gulp updateBrowser && set PORT=4200 && react-app-rewired --max_old_space_size=10240 start", - "build": "gulp updateBrowser && react-app-rewired --max_old_space_size=14860 build", + "build": "gulp updateBrowser && react-app-rewired build", "host": "set PORT=4200 && react-app-rewired --max_old_space_size=10240 start", "postbuild": "node tasks/copyWebConfig.js && gulp verifyBuild", "test": "gulp updateBrowser && react-app-rewired test --env=jsdom",