From 9a2d05ee543dda480ec4414da25d4d394ebc4a9f Mon Sep 17 00:00:00 2001 From: ClaraTschamon Date: Wed, 27 Nov 2024 12:08:12 +0100 Subject: [PATCH] build: update node version to v22 --- .github/workflows/main.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37f6b33..0469fae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node: ['16.x', '18.x'] + node: ['18.x', '20.x', '22.x'] os: [ubuntu-latest, macOS-latest] steps: diff --git a/package-lock.json b/package-lock.json index b6a494d..5974c56 100644 --- a/package-lock.json +++ b/package-lock.json @@ -54,7 +54,7 @@ "typescript": "^4.5.5" }, "engines": { - "node": ">=16 <=18" + "node": ">=18 <=22" }, "peerDependencies": { "react": "^18.0.0" diff --git a/package.json b/package.json index e4b0d7d..43b4e0d 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "src" ], "engines": { - "node": ">=16 <=18" + "node": ">=18 <=22" }, "scripts": { "start": "tsdx watch",