Skip to content

Commit bd2a3b1

Browse files
committed
docs: upgrade Node.js to version 20
Node.js 20 is the current LTS release: https://nodejs.org/en/about/releases/ BREAKING CHANGE: the minimum Node.js is 20
1 parent 2be6ac4 commit bd2a3b1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/code-style.yaml

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

2222
- uses: actions/setup-node@v4
2323
with:
24-
node-version: "18.x"
24+
node-version: "20.x"
2525

2626
- name: Keep npm cache around to speed up installs
2727
uses: actions/cache@v3

.github/workflows/test-and-release.yaml

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.x"
21+
node-version: "20.x"
2222

2323
- name: Install dependencies
2424
run: npm ci --no-audit

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
]
8080
},
8181
"engines": {
82-
"node": ">=18",
82+
"node": ">=20",
8383
"npm": ">=9"
8484
},
8585
"prettier": "@nordicsemiconductor/asset-tracker-cloud-code-style/.prettierrc",

0 commit comments

Comments
 (0)