Here's where nvm install is called now:
|
$cmd = ". $nvmDir/nvm.sh; nvm install && nvm use && echo \"NVM_BIN=\$NVM_BIN\""; |
nvm.sh provides a -b flag to avoid compiling from source
https://github.com/nvm-sh/nvm/blob/44a3cdb9b8738ae02237972ec58728a568f9d552/nvm.sh#L3074
As it takes more than an hour for the compilation to happen, this is a big problem for people who have resource limitations on their GitHub Action Runners or cloud resources.
I would guess that some people might need to compile, but if GitHub Actions or local installs are the main use cases, I think having "skip source compilation" as the default is probably a good idea.
In case it is helpful, here's the runaway action workflow I am seeing today: https://github.com/ncstate-delta/moodle-mod_zoom/actions/runs/17833683411/job/50705126369?pr=677
Here's where
nvm installis called now:moodle-plugin-ci/src/Installer/VendorInstaller.php
Line 123 in 7e8efb4
nvm.sh provides a
-bflag to avoid compiling from sourcehttps://github.com/nvm-sh/nvm/blob/44a3cdb9b8738ae02237972ec58728a568f9d552/nvm.sh#L3074
As it takes more than an hour for the compilation to happen, this is a big problem for people who have resource limitations on their GitHub Action Runners or cloud resources.
I would guess that some people might need to compile, but if GitHub Actions or local installs are the main use cases, I think having "skip source compilation" as the default is probably a good idea.
In case it is helpful, here's the runaway action workflow I am seeing today: https://github.com/ncstate-delta/moodle-mod_zoom/actions/runs/17833683411/job/50705126369?pr=677