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": {