JavaScript heap out of memory when building a site containing Plasmic pages

Got this issue:

<--- JS stacktrace --->
28
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

when deploying Plasmic app from the Studio, how do I ignoreBuildErrors in the Github workflow?

Very strange… I wonder if that could be due to a specific code component that is producing or fetching a lot of data…