Skip to content

Commit

Permalink
Drop support for Node.js v16 (#203)
Browse files Browse the repository at this point in the history
Support for Node.js v16 has been dropped. We no longer test v16 in CI,
and the `engines` field has been updated to set v18 as the minimum
supported version.

I've dropped support because Node.js v16 is no longer maintained, and
because this bump was necessary in order to use newer versions of Yarn
and AVA.

The README has been updated to suggest using the latest LTS for
development rather than the minimum version.
  • Loading branch information
Gudahtt committed Mar 18, 2024
1 parent 2d305da commit e0ef1c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- prepare
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -48,7 +48,7 @@ jobs:
- prepare
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
- prepare
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Keys that do not match any defined category are treated as being in an implied l

### Setup

- Install [Node.js](https://nodejs.org) version 16
- Install the current LTS version of [Node.js](https://nodejs.org)
- 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 requried post-install scripts
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},
"lavamoat": {
"allowScripts": {
Expand Down

0 comments on commit e0ef1c5

Please sign in to comment.