Skip to content

debug: test using nvm #7

debug: test using nvm

debug: test using nvm #7

Workflow file for this run

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
- name: Download latest Node.js versions
run: wget https://nodejs.org/download/release/index.json -O node-versions.json
- name: List node versions
run: jq -r '.[].version' node-versions.json | sort -V | uniq
- 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