Skip to content

Nvm test

Nvm test #4

Workflow file for this run

on:
workflow_dispatch:
pull_request:
branches:
- main
- v2.x
jobs:
nvm-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: true
- name: Run 0.39.7 1 shell level
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.nvm/nvm.sh && nvm --version
- name: Run 0.40.0 1 shell level
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.nvm/nvm.sh && nvm --version
- name: Run 0.39.7 2 shell levels
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
bash -c "source ~/.nvm/nvm.sh && nvm --version"
- name: Run 0.40.0 2 shell levels
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
bash -c "source ~/.nvm/nvm.sh && nvm --version"