diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index dead24d..574201b 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -14,7 +14,10 @@ jobs: YARN_VERSION: ${{ steps.yarn-version.outputs.YARN_VERSION }} strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: + - 18.x + - 20.x + - 22.x steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -41,7 +44,10 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: + - 18.x + - 20.x + - 22.x steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -69,7 +75,8 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: + - 20.x steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} @@ -104,7 +111,10 @@ jobs: - prepare strategy: matrix: - node-version: [14.x, 16.x, 18.x, 19.x] + node-version: + - 18.x + - 20.x + - 22.x steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.nvmrc b/.nvmrc index 958b5a3..b009dfb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v14 +lts/* diff --git a/README.md b/README.md index 43db5b6..e925496 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ try { ### Setup -- Install [Node.js](https://nodejs.org) version 14 +- Install active [Node.js](https://nodejs.org) LTS version - 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 d79d4c9..40d94a4 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "main": "dist/index.js", "bin": "dist/cli.js", "engines": { - "node": ">=14.0.0" + "node": "^18.18 || ^20.12 || >=22" }, "files": [ "dist/"