function setEnv(name, value) {
  if (name in process.env) {
    // eslint-disable-next-line no-console
    console.warn(`ENV: Overriding ${name}: ${process.env[name]} => ${value}`);
  }
  process.env[name] = value;
}
Sets an environmet variable

This will print a warning if the variable was overwritten.

@param {*} name The name of the environmental variable
@param {*} value The new value