Maintain Node.js version for gitlab-docs project
With !613 (merged) merged, and to contribute to: gitlab-org&9477 (closed), add gitlab-docs
as a project that can have its Node.js version programmatically maintained.
Unlike our Ruby version, which we like to manually manage (https://gitlab.com/gitlab-org/gitlab-docs/-/blob/744bec1069a249ae10d656961bd13ae1653b9558/.gitlab-ci.yml#L21), our Node.js version is maintained purely in:
-
.nvmrc
: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/744bec1069a249ae10d656961bd13ae1653b9558/.nvmrc -
.tool-versions
: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/744bec1069a249ae10d656961bd13ae1653b9558/.tool-versions
The intent of this MR is that gitlab-docs
is regularly updated to use the LTS version of Node.js (currently 18.13.0
).