Skip to content

Commit

Permalink
docs: upgrade Node.js to version 20
Browse files Browse the repository at this point in the history
Node.js 20 is the current LTS release:
https://nodejs.org/en/about/releases/

BREAKING CHANGE: the minimum Node.js is 20
  • Loading branch information
coderbyheart committed Nov 28, 2023
1 parent 2be6ac4 commit bd2a3b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"

- name: Keep npm cache around to speed up installs
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"

- name: Install dependencies
run: npm ci --no-audit
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
]
},
"engines": {
"node": ">=18",
"node": ">=20",
"npm": ">=9"
},
"prettier": "@nordicsemiconductor/asset-tracker-cloud-code-style/.prettierrc",
Expand Down

0 comments on commit bd2a3b1

Please sign in to comment.