From bd2a3b1d37e630572493234aede253f21be11af4 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Tue, 28 Nov 2023 17:06:11 +0100 Subject: [PATCH] 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 --- .github/workflows/code-style.yaml | 2 +- .github/workflows/test-and-release.yaml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/code-style.yaml b/.github/workflows/code-style.yaml index 0b0b3377..b054088f 100644 --- a/.github/workflows/code-style.yaml +++ b/.github/workflows/code-style.yaml @@ -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 diff --git a/.github/workflows/test-and-release.yaml b/.github/workflows/test-and-release.yaml index e669d444..feccdd79 100644 --- a/.github/workflows/test-and-release.yaml +++ b/.github/workflows/test-and-release.yaml @@ -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 diff --git a/package.json b/package.json index 9e1ade62..9459ca17 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ ] }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=9" }, "prettier": "@nordicsemiconductor/asset-tracker-cloud-code-style/.prettierrc",