From 4ac52c458bd5ec70600ed8a0f4cd2c2f2c8b1b8c Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Tue, 6 Aug 2024 01:24:33 +0200 Subject: [PATCH] Add Node.js 22 to CI --- .github/workflows/test.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9b6f315..4ba9bd0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 21 + node-version: 22 cache: pnpm - name: Install dependencies run: pnpm install --ignore-scripts diff --git a/package.json b/package.json index ffc4f7a..3b9ca9e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "./package.json": "./package.json" }, "engines": { - "node": "^18.0.0 || >=20.0.0" + "node": "^18.0.0 || ^20.0.0 || >=22.0.0" }, "dependencies": { "nanoevents": "^9.0.0"