Skip to content

Commit e230a54

Browse files
authored
feat!: drop support for node 18.x and 19.x (#7332)
* feat: drop support for node 18.x and 19.x * feat: minimum version of 20.12.2 * feat: remove mention of 18.17.0 and 18.13.0 --------- Co-authored-by: Karin <=>
1 parent 8bb3fd2 commit e230a54

File tree

15 files changed

+19
-24
lines changed

15 files changed

+19
-24
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
matrix:
2222
os: [windows-latest]
2323
# Pinning 20.x version as a temporary workaround due to this https://github.com/nodejs/node/issues/52884
24-
node-version: ['18.14.0', '20.12.2', '22']
24+
node-version: ['20.12.2', '22']
2525
fail-fast: false
2626
steps:
2727
# This improves Windows network performance. We need this since we open many ports in our tests.
@@ -79,7 +79,7 @@ jobs:
7979
strategy:
8080
matrix:
8181
os: [ubuntu-latest, macOS-latest]
82-
node-version: ['18.14.0', '22']
82+
node-version: ['20.12.2', '22']
8383
fail-fast: false
8484
steps:
8585
- name: Git checkout

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 18.14.0
22+
node-version: 20.12.2
2323
cache: npm
2424

2525
- name: Install dependencies

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,10 @@ jobs:
1919
matrix:
2020
os: [ubuntu-latest, macOS-latest, windows-latest]
2121
# Pinning 20.x version as a temporary workaround due to this https://github.com/nodejs/node/issues/52884
22-
node-version: ['18.17.0', '20.12.2', '22']
22+
node-version: ['20.12.2', '22']
2323
shard: ['1/4', '2/4', '3/4', '4/4']
2424

2525
exclude:
26-
- os: macOS-latest
27-
node-version: '18.17.0'
28-
- os: windows-latest
29-
node-version: '18.17.0'
3026
- os: windows-latest
3127
node-version: '22'
3228
fail-fast: false

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 18.14.0
22+
node-version: 20.12.2
2323
cache: npm
2424

2525
- name: Install dependencies

.github/workflows/pre-release-sha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: '18.17.0'
25+
node-version: '20.12.2'
2626
cache: npm
2727
registry-url: 'https://registry.npmjs.org'
2828

.github/workflows/typecheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 18.14.0
21+
node-version: 20.12.2
2222
cache: npm
2323

2424
- name: Install dependencies

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest, macOS-latest, windows-latest]
20-
node-version: ['18.14.0', '22.x']
20+
node-version: ['20.12.2', '22.x']
2121
exclude:
2222
- os: windows-latest
2323
node-version: '22.x'

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ See the [CLI command line reference](https://cli.netlify.com/commands/) to get s
4848

4949
## Installation
5050

51-
Netlify CLI requires [Node.js](https://nodejs.org) version 18.14.0 or above. To install, run the following command from any
52-
directory in your terminal:
51+
Netlify CLI requires [Node.js](https://nodejs.org) version 20.12.2 or above. To install, run the following command from
52+
any directory in your terminal:
5353

5454
```bash
5555
npm install netlify-cli -g
@@ -87,7 +87,6 @@ netlify [command] help
8787
To learn how to log in to Netlify and start deploying projects, visit the
8888
[documentation on Netlify](https://docs.netlify.com/cli/get-started/).
8989

90-
9190
## Commands
9291

9392
For a full command reference visit [cli.netlify.com](https://cli.netlify.com/).

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Netlify Inc.",
66
"type": "module",
77
"engines": {
8-
"node": ">=18.14.0"
8+
"node": ">=20.12.2"
99
},
1010
"files": [
1111
"/bin",

0 commit comments

Comments
 (0)