Do I need to update the node version locally if the remote deployment run-time will be different version?


We are upgrading the run-time version to node 14.x from 10.x.
Currently developers have node10 installed locally and uses serverless offline sometimes.

I know this answer might be obvious but I would like to have some input

  1. if the developer uses severless offline, they will need to switch to node14 right?
  2. if they don’t use servless offline, then we don’t need to switch?

What is the best workflow to handle this situation?
I am currently using “yq” and “nvm” to parse serverless.yml nodejs version and switch accordingly.

My feeling is that maybet there is a better workflow?