feat(nvm): add support for nvm & minor actions housekeeping (#2979)
* feat: add `.nvmrc` for specifying node version
Co-Authored-By: Evandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com>
* chore(deps): bump setup-node to v4
* build: use node-version-file instead of hardcoded 18.x
* chore(deps): bump nvm version
* fix: checkout before install 🎉
---------
Co-authored-by: Evandro Leopoldino Gonçalves <evandrolgoncalves@gmail.com>
This commit is contained in:
parent
e9ad3f552d
commit
771999761e
6 changed files with 13 additions and 12 deletions
|
@ -23,7 +23,7 @@ COPY . .
|
|||
RUN mkdir --parents $NVM_DIR && \
|
||||
wget \
|
||||
--output-document=/tmp/nvm-install.sh \
|
||||
https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh && \
|
||||
https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh && \
|
||||
bash /tmp/nvm-install.sh
|
||||
|
||||
RUN \. "$NVM_DIR/nvm.sh" && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue