From d43eb69c9e0c23f51ed60829c842b7e52d7106db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Thu, 24 Jul 2025 08:14:34 +0200 Subject: [PATCH 1/3] update to node 22 --- .github/workflows/main.yml | 8 ++++---- .github/workflows/release.yml | 4 ++-- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f9f16ab..c2837fc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,11 +8,11 @@ concurrency: jobs: checks: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 strategy: matrix: - node_version: [16, 18, 20] + node_version: [ 18, 20, 22 ] steps: - uses: actions/checkout@v4 - uses: aboutbits/github-actions-node/setup-and-install@v2 @@ -26,11 +26,11 @@ jobs: shell: bash test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 10 strategy: matrix: - node_version: [16, 18, 20] + node_version: [ 18, 20, 22 ] steps: - uses: actions/checkout@v4 - uses: aboutbits/github-actions-node/setup-and-install@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 122bd18..2ea73c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,11 +6,11 @@ on: - 'v*' env: - NODE_VERSION: 20 + NODE_VERSION: 22 jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - uses: actions/checkout@v4 diff --git a/package-lock.json b/package-lock.json index 1b58660..d87cbc0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -34,7 +34,7 @@ "typescript": "^5.4.3" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { diff --git a/package.json b/package.json index 38151c5..3349fab 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ ], "engines": { "npm": ">=8", - "node": ">=16" + "node": ">=18" }, "scripts": { "build": "rimraf dist && npm run build:esm && npm run build:cjs", From 59c07d1409c2f262ed9dcbe4b17048dfcfc9f458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Thu, 24 Jul 2025 13:11:35 +0200 Subject: [PATCH 2/3] add node version file --- .node-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .node-version diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..8fdd954 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +22 \ No newline at end of file From 28f6e44f2bab53209fffc8b5f636b72964241341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Fri, 25 Jul 2025 13:46:08 +0200 Subject: [PATCH 3/3] update npm version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index d87cbc0..2162070 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ }, "engines": { "node": ">=18", - "npm": ">=8" + "npm": ">=10" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0" diff --git a/package.json b/package.json index 3349fab..498e316 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "dist/**/*" ], "engines": { - "npm": ">=8", + "npm": ">=10", "node": ">=18" }, "scripts": {