Fix Storybook Build running out of memory (#7520)
Increases the node process memory to avoid `FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory` errors
This commit is contained in:
@ -67,7 +67,7 @@
|
|||||||
"test": {},
|
"test": {},
|
||||||
"storybook:build": {
|
"storybook:build": {
|
||||||
"options": {
|
"options": {
|
||||||
"env": { "NODE_OPTIONS": "--max_old_space_size=6000" }
|
"env": { "NODE_OPTIONS": "--max_old_space_size=6500" }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"storybook:serve:dev": {
|
"storybook:serve:dev": {
|
||||||
|
|||||||
@ -94,6 +94,7 @@ export const WorkflowEditActionFormSendEmail = (
|
|||||||
if (props.readonly === true) {
|
if (props.readonly === true) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
props.onActionUpdate({
|
props.onActionUpdate({
|
||||||
...props.action,
|
...props.action,
|
||||||
settings: {
|
settings: {
|
||||||
@ -103,6 +104,7 @@ export const WorkflowEditActionFormSendEmail = (
|
|||||||
body: formData.body,
|
body: formData.body,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (checkScopes === true) {
|
if (checkScopes === true) {
|
||||||
await checkConnectedAccountScopes(formData.connectedAccountId);
|
await checkConnectedAccountScopes(formData.connectedAccountId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user