it’s not safe to assume your app is tested by only doing nvm use across versions, that’s not enough isolation.
at least you should also use the right version of npm matching the node version, and for each, rm -rf node_modules && npm install again.
and that’s assuming any custom hooks on your package.json aren’t doing anything that contaminates the following tests.
I guess the only completely safe way would be to use separate containers.