Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 10, 2024
1 parent e6bfc1b commit 8cd7eb4
Showing 1 changed file with 54 additions and 10 deletions.
64 changes: 54 additions & 10 deletions .github/workflows/nvm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ jobs:

- name: Run 0.39.7 1 shell level
run: |
echo $- # which options are set
curl -I --compressed -v https://nodejs.org/dist/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.nvm/nvm.sh && nvm --version
source ~/.nvm/nvm.sh && nvm install
source ~/.nvm/nvm.sh
nvm --version
nvm install
nvm-0-40-0-1shell-lvl:
runs-on: ubuntu-latest
Expand All @@ -27,10 +29,12 @@ jobs:

- name: Run 0.40.0 1 shell level
run: |
echo $- # which options are set
curl -I --compressed -v https://nodejs.org/dist/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.nvm/nvm.sh && nvm --version
source ~/.nvm/nvm.sh && nvm install
source ~/.nvm/nvm.sh
nvm --version
nvm install
nvm-head-1shell-lvl:
runs-on: ubuntu-latest
Expand All @@ -42,10 +46,48 @@ jobs:

- name: Run HEAD 1 shell level
run: |
echo $- # which options are set
curl -I --compressed -v https://nodejs.org/dist/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh | bash
source ~/.nvm/nvm.sh && nvm --version
source ~/.nvm/nvm.sh && nvm install
source ~/.nvm/nvm.sh
nvm --version
nvm install
nvm-zsh-1shell-lvl:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: true

- name: Run dd89af5 1 shell level
run: |
echo $- # which options are set
curl -I --compressed -v https://nodejs.org/dist/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/dd89af5/install.sh | bash
curl https://raw.githubusercontent.com/nvm-sh/nvm/dd89af5/nvm.sh -o ~/.nvm/nvm.sh
source ~/.nvm/nvm.sh
nvm --version
nvm install
nvm-save-1shell-lvl:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: true

- name: Run f439acd 1 shell level
run: |
echo $- # which options are set
curl -I --compressed -v https://nodejs.org/dist/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/f439acd/install.sh | bash
curl https://raw.githubusercontent.com/nvm-sh/nvm/f439acd/nvm.sh -o ~/.nvm/nvm.sh
source ~/.nvm/nvm.sh
nvm --version
nvm install
nvm-0-39-7-2shell-lvls:
runs-on: ubuntu-latest
Expand All @@ -57,10 +99,10 @@ jobs:

- name: Run 0.39.7 2 shell levels
run: |
echo $- # which options are set
curl -I --compressed -v https://nodejs.org/dist/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
bash -c "source ~/.nvm/nvm.sh && nvm --version"
bash -c "source ~/.nvm/nvm.sh && nvm install"
bash -c "source ~/.nvm/nvm.sh && nvm --version && nvm install"
nvm-0-40-0-2shell-lvls:
runs-on: ubuntu-latest
Expand All @@ -75,12 +117,13 @@ jobs:
node --version
echo $NVM_DIR
echo $- # which options are set
curl -I --compressed -v https://nodejs.org/dist/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
mkdir ~/.nvm/versions
echo $NVM_DIR
tree -L 3 ~/.nvm/versions
bash -c "source ~/.nvm/nvm.sh && nvm --version"
bash -c "source ~/.nvm/nvm.sh && nvm --version && nvm install"
nvm-head-2shell-lvls:
runs-on: ubuntu-latest
Expand All @@ -95,9 +138,10 @@ jobs:
node --version
echo $NVM_DIR
echo $- # which options are set
curl -I --compressed -v https://nodejs.org/dist/
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh | bash
mkdir ~/.nvm/versions
echo $NVM_DIR
tree -L 3 ~/.nvm/versions
bash -c "source ~/.nvm/nvm.sh && nvm --version"
bash -c "source ~/.nvm/nvm.sh && nvm --version && nvm install"

0 comments on commit 8cd7eb4

Please sign in to comment.