bashrc error in node version for gitlab-runner user
update this in .bashrc and .profile files in gitlab-runner user
export NVM_DIR="/home/gitlab-runner/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
source ~/.bashrc
source ~/.profile
then install the nvm package and install node version as per needed
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
nvm install your_node_version
nvm alias default your_node_version