Add .nvmrc & use NVM to manage installed Node version

We have decided to use NVM to manage installed Node versions locally
and in CI to ensure they match and produce consistent builds.

Running `nvm install` will install the Node version specified in the
`.nvmrc` file.

This is now consistent with Document Download Frontend.
See: alphagov/document-download-frontend#114

Signed-off-by: Richard Baker <richard.baker@digital.cabinet-office.gov.uk>
This commit is contained in:
Richard Baker
2022-04-05 12:09:53 +01:00
parent 5fa324a680
commit 799949a3f4
3 changed files with 13 additions and 7 deletions
+1
View File
@@ -0,0 +1 @@
16.14.0