mirror of https://github.com/actions/setup-node
Update versions.yml
This commit is contained in:
parent
9d6bd53ee5
commit
7afaaa44b1
|
@ -34,17 +34,6 @@ jobs:
|
|||
node-version: [lts/dubnium, lts/erbium, lts/fermium, lts/*, lts/-1]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install NVM
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
|
||||
echo 'export NVM_DIR="$HOME/.config/nvm"' >> $GITHUB_ENV
|
||||
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $GITHUB_ENV
|
||||
echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"' >> $GITHUB_ENV
|
||||
- name: Source NVM
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
source $GITHUB_ENV
|
||||
- name: Setup Node
|
||||
uses: ./
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue