From 679901a7c37afd199a0209f2dff1fd4a5b6b2844 Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Tue, 14 Nov 2023 13:03:43 +0000 Subject: [PATCH] BREAKING: Increase minimum Node.js version to 16; recommended to 18 - ci: run on node 20 instead of 14 - remove support for major node versions 14-15,17,19 - set .nvmrc to v18 (thereby changing default ci node version) --- .github/workflows/build-lint-test.yml | 8 ++++---- .nvmrc | 2 +- README.md | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 3982b18..146601f 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -14,7 +14,7 @@ jobs: YARN_VERSION: ${{ steps.yarn-version.outputs.YARN_VERSION }} strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -41,7 +41,7 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -69,7 +69,7 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -103,7 +103,7 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.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 958b5a3..3f430af 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v14 +v18 diff --git a/README.md b/README.md index 8ff772a..dc37e2c 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ The data is encrypted using the `AES-GCM` algorithm with an initialization vecto ### Setup -- Install [Node.js](https://nodejs.org) version 14 +- Install [Node.js](https://nodejs.org) version 18 - 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 6b2901c..d61ef96 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ }, "packageManager": "yarn@3.2.4", "engines": { - "node": ">=14.0.0" + "node": "^16.20 || ^18.16 || >=20" }, "publishConfig": { "access": "public",