CircleCI-Public / node-orb

An orb for working with Node.js on CircleCI
https://circleci.com/orbs/registry/orb/circleci/node
MIT License
52 stars 80 forks source link

"max-workers" as a parameter or a step to check the size of resource class #174

Open livmade opened 1 year ago

livmade commented 1 year ago

Describe Request:

Using the install command seems to allow the install-packages command to then allow the CircleCI docker executors tell all the node-related tools that there is a large amount of GB of RAM and dozens of CPUs, stalling out jobs. This causes issues in the restore-cache step.

Supporting Documentation Links:

There's a support article here to add into the config, but it would be helpful to have this built-in instead: https://support.circleci.com/hc/en-us/articles/360038192673-NodeJS-Builds-or-Test-Suites-Fail-With-ENOMEM-or-a-Timeout