From f0c6c769f86778fa8de46c5cade691f1ee434af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Thu, 24 Jul 2025 08:03:15 +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 095b06b..92c0f05 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "vitest": "^1.4.0" }, "engines": { - "node": ">=16", + "node": ">=18", "npm": ">=8" }, "peerDependencies": { diff --git a/package.json b/package.json index 3d4e6b0..2a99e4a 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 f2a3fa205069e447965451dfe713794c2d7b0558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Thu, 24 Jul 2025 13:19:36 +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 6374d9f2a449357430c2120f0c985d3936ad6800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20N=C3=B6ssing?= Date: Fri, 25 Jul 2025 13:43:23 +0200 Subject: [PATCH 3/3] update npm --- 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 92c0f05..8ec4c6b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,7 @@ }, "engines": { "node": ">=18", - "npm": ">=8" + "npm": ">=10" }, "peerDependencies": { "next": "^12.0.0 || ^13.0.0 || ^14.0.0", diff --git a/package.json b/package.json index 2a99e4a..90d3619 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "dist/**/*" ], "engines": { - "npm": ">=8", + "npm": ">=10", "node": ">=18" }, "scripts": {