From 5b049ff0770ee7f427338022479e1c7609c5b50b 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 d6d9a99..b310fbd 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 8cf655d..6a8c585 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: Install latest npm run: | sudo npm install -g npm@ diff --git a/package.json b/package.json index a48bfca..380cccc 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ ] }, "engines": { - "node": ">=18", + "node": ">=20", "npm": ">=9" }, "release": {