From 4512045482d586b6374ef6da2c22b46c73bcbc07 Mon Sep 17 00:00:00 2001 From: Robin Tail Date: Wed, 16 Oct 2024 18:57:58 +0200 Subject: [PATCH 1/3] Testing Node 23. --- .github/workflows/node.js.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6fa800804..8af9d48a9 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.18.0, 18.x, 20.9.0, 20.x, 22.0.0, 22.x] + node-version: [18.18.0, 18.x, 20.9.0, 20.x, 22.0.0, 22.x, 23.0.0, 23.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - name: Get yarn cache dir diff --git a/package.json b/package.json index 8491a5d9e..070a6c3f3 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "*.md" ], "engines": { - "node": "^18.18.0 || ^20.9.0 || ^22.0.0" + "node": "^18.18.0 || ^20.9.0 || ^22.0.0 || ^23.0.0" }, "dependencies": { "ansis": "^3.2.0", From ebd23c6d35f8b4b1e7ec48a1c1d282e58be03fe3 Mon Sep 17 00:00:00 2001 From: Robin Tail Date: Wed, 16 Oct 2024 19:00:28 +0200 Subject: [PATCH 2/3] Add ignore engines to CI. --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8af9d48a9..5b93e21d0 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -36,7 +36,7 @@ jobs: path: ${{ steps.yarnCache.outputs.dir }} key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }} - name: Install dependencies - run: yarn install + run: yarn install --ignore-engines - name: Lint run: yarn lint - name: Test From 849bb781f42dd463da5d1434331394187a42887e Mon Sep 17 00:00:00 2001 From: Anna Bocharova Date: Thu, 24 Oct 2024 23:59:50 +0200 Subject: [PATCH 3/3] Starting from Node 23.1 --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 5b93e21d0..314b00b2f 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.18.0, 18.x, 20.9.0, 20.x, 22.0.0, 22.x, 23.0.0, 23.x] + node-version: [18.18.0, 18.x, 20.9.0, 20.x, 22.0.0, 22.x, 23.1.0, 23.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - name: Get yarn cache dir