From 4b3beaa4a8490abbec76ed98a3dcdf8da51a5e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Wi=C4=99cek?= Date: Fri, 9 May 2025 16:18:08 +0200 Subject: [PATCH 1/2] chore: update Node.js versions in CI workflows Removes support for Node.js versions 16.x to 19.x in both PR and release workflows. Adds support for Node.js 24.x to ensure alignment with the latest runtime environments. Updates NODE_VERSIONS constant to match supported versions. --- .github/workflows/pr.yml | 4 +--- .github/workflows/release.yml | 4 +--- docs/src/App.tsx | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 30fda1158..d61b4e85f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -14,13 +14,11 @@ jobs: max-parallel: 3 matrix: node-version: - - 16.x - - 18.x - - 19.x - 20.x - 21.x - 22.x - 23.x + - 24.x steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2390a0951..510d6204c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,13 +29,11 @@ jobs: # - NODE_VERSIONS in app.tsx # - NODE_VERSION_FOR_PREVIEW in main.ts node-version: - - 16.x - - 18.x - - 19.x - 20.x - 21.x - 22.x - 23.x + - 24.x steps: - uses: actions/checkout@v4 diff --git a/docs/src/App.tsx b/docs/src/App.tsx index 2c72dbf83..708b17390 100644 --- a/docs/src/App.tsx +++ b/docs/src/App.tsx @@ -4,7 +4,7 @@ import * as vegaLite from 'vega-lite'; // which results are attempted to load // the first is selected automatically -const NODE_VERSIONS = [23, 22, 21, 20, 19, 18, 16]; +const NODE_VERSIONS = [24, 23, 22, 21, 20]; const BUN_VERSIONS = [1.2, 1.1]; From 73ccfa853e87eed34f3ba88e255d375d0df96562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Wi=C4=99cek?= Date: Fri, 9 May 2025 16:21:36 +0200 Subject: [PATCH 2/2] chore: update Node versions list --- docs/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/App.tsx b/docs/src/App.tsx index 708b17390..036a419bc 100644 --- a/docs/src/App.tsx +++ b/docs/src/App.tsx @@ -4,7 +4,7 @@ import * as vegaLite from 'vega-lite'; // which results are attempted to load // the first is selected automatically -const NODE_VERSIONS = [24, 23, 22, 21, 20]; +const NODE_VERSIONS = [24, 23, 22, 21, 20, 19, 18, 16]; const BUN_VERSIONS = [1.2, 1.1];