Skip to content

Commit

Permalink
debug: test using nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
baparham committed Sep 24, 2023
1 parent 2bac9c0 commit 190d9a2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Debug Update Node.js Versions

on:
push:
branches: [ develop ]

jobs:
collect-version-data:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install NVM
run: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash
- run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm ls-remote
./scripts/nvm-iterator.sh
- run: |
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm ls-remote
10 changes: 10 additions & 0 deletions scripts/nvm-iterator.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set -x

nvm install v20.7.0
node --version

nvm install v18.18.0
node --version

nvm install v16.20.2
node --version

0 comments on commit 190d9a2

Please sign in to comment.