Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates and fixes for ubuntu-latest change to ubuntu-24.04 #1144

Closed
wants to merge 15 commits into from
Prev Previous commit
Next Next commit
Update versions.yml
  • Loading branch information
aparnajyothi-y authored Sep 30, 2024
commit 0fe4194162e29a776bd25c2bc109a78942015435
19 changes: 11 additions & 8 deletions .github/workflows/versions.yml
Original file line number Diff line number Diff line change
@@ -34,19 +34,22 @@ 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:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Install NVM
if: runner.os == 'Linux'
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
- if: runner.os != 'Windows' && runner.os != 'macOS'
name: Verify node and npm
run: |