Hi,
I want to use a node image that is specifed in the repo by a nvmrc file. How can i get this working?
kind: pipeline
name: default
steps:
- name: nvm
image: bash
commands:
- cd public_html/content/themes/main/
- echo export NODE=$(cat .nvmrc)
- name: build
image: node{{NODE}}
commands:
- echo $NODE
- cd public_html/content/themes/main/
- npm i
- npm run build