From c704fc77d6dd308b23f2b3aa0f9177374ace9b87 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 52487da..55f5b45 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 d07e0e9..0310b5e 100644 --- a/.github/workflows/test-and-release.yaml +++ b/.github/workflows/test-and-release.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: "18.x" + node-version: "20.x" - name: Authenticate with NPM registry run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc - name: Keep npm cache around to speed up installs diff --git a/package.json b/package.json index 1313b8c..9eb3604 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ ] }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=9" }, "release": {