Skip to content

Commit 54338e4

Browse files
committed
max old space
1 parent 7d2758e commit 54338e4

File tree

2 files changed

+46
-2
lines changed

2 files changed

+46
-2
lines changed

apps/remix-ide-e2e/CIRCLE_CI.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
3+
# CircleCI Parameters and Workflows Overview
4+
5+
This project uses **CircleCI pipeline parameters** to control workflows and resources dynamically. Below is a description of the main parameters and their purpose:
6+
7+
## ✅ Boolean Parameters
8+
9+
These are used to enable or disable specific workflows:
10+
11+
- **`run_all_tests`**
12+
When `true`, runs the full suite of tests.
13+
- **`run_pr_tests`**
14+
When `true`, runs tests tagged with `#pr` or `#PR`.
15+
- **`run_flaky_tests`**
16+
When `true`, runs tests tagged with `#flaky`.
17+
- **`run_metamask_tests`**
18+
When `true`, runs only the MetaMask-related tests.
19+
- **`windows`, `mac`, `linux`**
20+
Used to selectively run OS-specific builds or tests.
21+
22+
## ✅ String Parameters
23+
24+
- **`run_file_tests`**
25+
Specifies a specific filename or pattern to run targeted tests.
26+
- **`keyword`**
27+
A custom keyword string. When specified, the workflow searches for test files containing this keyword in their filenames. This is used by the `run_custom_keyword_tests` workflow to trigger tests selectively.
28+
29+
## ✅ Enum Parameter
30+
31+
- **`resource_class`**
32+
Controls the compute size used for jobs.
33+
Allowed values:
34+
- `medium`
35+
- `large`
36+
- `xlarge` (default)
37+
- `2xlarge`
38+
39+
This parameter is applied across jobs to adjust resource allocation dynamically. For example, you can trigger a pipeline with:
40+
```
41+
resource_class=2xlarge
42+
```
43+
to speed up builds on more powerful machines.
44+

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"serve:endpoints": "NX_ENDPOINTS_URL=\"http://localhost:4000\" yarn serve",
3434
"serve:plugin": "nx serve ${npm_config_plugin} --configuration=development",
3535
"build:plugin": "NODE_ENV=production nx build ${npm_config_plugin} --configuration=production --skip-nx-cache",
36-
"build": "nx build",
36+
"build": "node --max-old-space-size=4096 ./node_modules/.bin/nx build",
3737
"test": "nx test",
3838
"lint": "nx lint",
3939
"affected:apps": "nx affected:apps",
@@ -52,7 +52,7 @@
5252
"help": "nx help",
5353
"lint-entire": "prettier --write {apps,libs}/**/*.{js,ts,tsx}",
5454
"lint:libs": "nx run-many --target=lint --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remix-ws-templates,remixd,remix-ui-tree-view,remix-ui-modal-dialog,remix-ui-toaster,remix-ui-helper,remix-ui-debugger-ui,remix-ui-workspace,remix-ui-static-analyser,remix-ui-checkbox,remix-ui-settings,remix-core-plugin,remix-ui-renderer,remix-ui-publish-to-storage,remix-ui-solidity-compiler,solidity-unit-testing,remix-ui-plugin-manager,remix-ui-terminal,remix-ui-editor,remix-ui-app,remix-ui-tabs,remix-ui-panel,remix-ui-run-tab,remix-ui-permission-handler,remix-ui-search,remix-ui-file-decorators,remix-ui-tooltip-popup,ghaction-helper",
55-
"build:libs": "nx run-many --target=build --parallel=false --with-deps=true --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remix-ws-templates,remixd,ghaction-helper",
55+
"build:libs": "node --max-old-space-size=4096 ./node_modules/.bin/nx run-many --target=build --parallel=false --with-deps=true --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-solidity,remix-tests,remix-url-resolver,remix-ws-templates,remixd,ghaction-helper",
5656
"test:libs": "nx run-many --target=test --projects=remix-analyzer,remix-astwalker,remix-debug,remix-lib,remix-simulator,remix-tests,remix-url-resolver",
5757
"publish:remixd": "yarn build remixd && cd ./dist/libs/remixd && yarn publish && yarn run bumpVersion:remixd",
5858
"publish:libs": "yarn run build:libs && lerna publish --skip-git && yarn run bumpVersion:libs",

0 commit comments

Comments
 (0)