diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml new file mode 100644 index 0000000..d08fad8 --- /dev/null +++ b/.github/workflows/debug.yml @@ -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/checkout@v3.1.0 + - 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 diff --git a/scripts/nvm-iterator.sh b/scripts/nvm-iterator.sh new file mode 100755 index 0000000..d4d2101 --- /dev/null +++ b/scripts/nvm-iterator.sh @@ -0,0 +1,11 @@ +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + +nvm install v20.7.0 +node --version + +nvm install v18.18.0 +node --version + +nvm install v16.20.2 +node --version