Building pages, .nvmrc file not working

I’ve added a .nvmrc file to my github repo because I got errors building due to the Nodejs version.

To prevent that, i’ve added a .nvmrc file. On the documentation it says that you can use the file. See https://developers.cloudflare.com/pages/platform/build-configuration. But having a .nvmrc file with the content ‘v14.18.1’ didn’t work. But it still build the application with the 12.18.0 version of Node (Cloudflare builders default node version)

Adding NODE_VERSION as variable to the environment fixes the problem for now. But don’t want to have to update multiple places when we want to update the node version.

Anyone has experience with this?