From c5133da5eb8e25f31017e5f1ff8e2ea2bf2c385e Mon Sep 17 00:00:00 2001 From: abhiram6121 <142340683+abhiram6121@users.noreply.github.com> Date: Tue, 15 Oct 2024 01:41:25 +0530 Subject: [PATCH] chore: Update `actions/setup-node` to `v4` (#744) --- .github/workflows/main.yml | 8 ++------ .nvmrc | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1fdb2bd97..392465cf8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,14 +12,10 @@ jobs: - name: Checkout commit uses: actions/checkout@v4 - - name: Read .nvmrc - run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT - id: nvm - - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: "${{ steps.nvm.outputs.NVMRC }}" + node-version-file: ".nvmrc" cache: yarn - name: Install dependencies diff --git a/.nvmrc b/.nvmrc index d9289897d..922f10a16 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.15.1 +20.x