From ab10b47ec9058f2bd1a01a8931abcc52e138a372 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Wed, 11 Dec 2024 10:48:09 +1300 Subject: [PATCH] CC-2240: upgrade to Node v20 (#1562) --- .github/workflows/ci.yml | 4 ++-- .node-version | 1 + .nvmrc | 1 - package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .node-version delete mode 100644 .nvmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a763d1ac2..46643917f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v3 with: - node-version: '16' + node-version-file: '.node-version' cache: 'yarn' - name: Install required JS packages @@ -78,7 +78,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v3 with: - node-version: '16' + node-version-file: '.node-version' cache: 'yarn' - name: Install Ruby (version given by .ruby-version) and Bundler diff --git a/.node-version b/.node-version new file mode 100644 index 000000000..8ce703082 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +20.16.0 diff --git a/.nvmrc b/.nvmrc deleted file mode 100644 index 2a0dc9a81..000000000 --- a/.nvmrc +++ /dev/null @@ -1 +0,0 @@ -14.16.0 diff --git a/package.json b/package.json index 1c954b1e5..eac505d50 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "homepage": "https://github.com/ODNZSL/nzsl-online#readme", "engines": { - "node": "^16.0.0", + "node": "^20.0.0", "yarn": "^1.3.2" }, "dependencies": {