From 2212f60d548efe3bf82911d7ef9dc1416c6a13a8 Mon Sep 17 00:00:00 2001 From: Howard Braham Date: Tue, 10 Dec 2024 16:21:40 +0530 Subject: [PATCH] nvm --- .github/workflows/benchmark.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 81842512df7d..850791799d3e 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -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