From d70b05231bd46b0122616c24e209c890ef2633c0 Mon Sep 17 00:00:00 2001 From: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com> Date: Thu, 31 Oct 2024 23:56:30 +0500 Subject: [PATCH] build: Upgrade to Node 20 (#55) --- .github/workflows/lockfileversion-check.yml | 2 +- .github/workflows/release.yml | 7 ++----- .nvmrc | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lockfileversion-check.yml b/.github/workflows/lockfileversion-check.yml index fadf1e2..916dcb4 100644 --- a/.github/workflows/lockfileversion-check.yml +++ b/.github/workflows/lockfileversion-check.yml @@ -10,4 +10,4 @@ on: jobs: version-check: - uses: openedx/.github/.github/workflows/lockfile-check.yml@master + uses: openedx/.github/.github/workflows/lockfileversion-check-v3.yml@master diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 444cb8b..194a97d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,13 +14,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Nodejs Env - run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV - - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: - node-version: ${{ env.NODE_VER }} + node-version-file: '.nvmrc' - name: Install dependencies run: npm ci diff --git a/.nvmrc b/.nvmrc index 3c03207..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +20