From 1ff4168a7f5654ed4a5f55a112010b1da7651979 Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Sun, 10 Sep 2023 03:13:31 +0000 Subject: [PATCH] Increase minimum Node.js version to 16; recommended to 18 ci: run on node v20 instead of v19 --- .github/workflows/build-lint-test.yml | 6 +++--- .nvmrc | 2 +- README.md | 2 +- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 164d6c9..8e82268 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -24,7 +24,7 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -49,7 +49,7 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -80,7 +80,7 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.nvmrc b/.nvmrc index 6f7f377..3f430af 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16 +v18 diff --git a/README.md b/README.md index ac97b94..8097051 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ removes the specified account from the list of accounts. ### Setup -- Install [Node.js](https://nodejs.org) version 14 or greater +- Install [Node.js](https://nodejs.org) version 16 or greater - If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you. - Install [Yarn v3](https://yarnpkg.com/getting-started/install) - Run `yarn install` to install dependencies and run any required post-install scripts diff --git a/package.json b/package.json index f3dcad8..9380856 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ }, "packageManager": "yarn@3.3.0", "engines": { - "node": ">=14.0.0" + "node": "^16.20 || ^18.16 || >=20" }, "publishConfig": { "access": "public",