Automated provisioning with NODE_VERSION can continue without the requested Node.js version when the installer discards a failure from `nvm install`.
Re-resolving a successful install's selector locally can also misreport its result for `stable` and `--lts`.
Use the install command's status and preserve it through cleanup and setup guidance.
Cover failure and success paths in isolated Bash processes,
including errexit,
without allowing shell tracing to satisfy assertions on installer output.