Skip to content

Commit

Permalink
nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardBraham committed Dec 10, 2024
1 parent 68e78af commit 2212f60
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,19 @@ jobs:
- name: Debugging with tmate
uses: ./.github/actions/actions-tmate

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
cache-dependency-path: yarn.lock
- run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
# download and install Node.js (you may need to restart the terminal)
nvm install 20
# verifies the right Node.js version is in the environment
node -v # should print `v20.18.1`
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version-file: .nvmrc
# cache: yarn
# cache-dependency-path: yarn.lock

- run: corepack enable
shell: bash
Expand Down

0 comments on commit 2212f60

Please sign in to comment.