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": {},
|
||||
"storybook:build": {
|
||||
"options": {
|
||||
"env": { "NODE_OPTIONS": "--max_old_space_size=6000" }
|
||||
"env": { "NODE_OPTIONS": "--max_old_space_size=6500" }
|
||||
}
|
||||
},
|
||||
"storybook:serve:dev": {
|
||||
|
||||
@ -94,6 +94,7 @@ export const WorkflowEditActionFormSendEmail = (
|
||||
if (props.readonly === true) {
|
||||
return;
|
||||
}
|
||||
|
||||
props.onActionUpdate({
|
||||
...props.action,
|
||||
settings: {
|
||||
@ -103,6 +104,7 @@ export const WorkflowEditActionFormSendEmail = (
|
||||
body: formData.body,
|
||||
},
|
||||
});
|
||||
|
||||
if (checkScopes === true) {
|
||||
await checkConnectedAccountScopes(formData.connectedAccountId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user