From ed3fe5ea82e2cdd4837f0b1eef3feac0993f0d18 Mon Sep 17 00:00:00 2001 From: Jonah Henriksson <33059163+JonahPlusPlus@users.noreply.github.com> Date: Wed, 13 Nov 2024 21:51:30 -0500 Subject: [PATCH] Fix node setup --- .github/actions/setup/action.yml | 3 ++- .nvmrc | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .nvmrc diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml index 467a3f7..927e6f0 100644 --- a/.github/actions/setup/action.yml +++ b/.github/actions/setup/action.yml @@ -7,8 +7,9 @@ runs: uses: pnpm/action-setup@v4.0.0 - uses: actions/setup-node@v4 with: - node-version: "20" + node-version-file: ".nvmrc" cache: "pnpm" + registry-url: https://registry.npmjs.org - name: Print versions shell: bash run: node --version && pnpm --version diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..2fe462c --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v20.18.0