From 3982fc414d0d40db04ccd05c65e1bb72c6036814 Mon Sep 17 00:00:00 2001 From: Claudio Promptoso Date: Thu, 5 Nov 2026 12:57:15 +0000 Subject: [PATCH 1/3] ci: build with Node 26 LTS Move every Node.js version pinned in the GitHub workflows (and .nvmrc where present) to 26, the current LTS line. The engines floor in package.json is left unchanged. --- .github/workflows/build-plugin-deb-package.yml | 2 +- .github/workflows/publish-tag.yml | 2 +- .github/workflows/ts-code-compilation.yml | 2 +- .github/workflows/ts-code-validation.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-plugin-deb-package.yml b/.github/workflows/build-plugin-deb-package.yml index 8c6684d..5556f1a 100644 --- a/.github/workflows/build-plugin-deb-package.yml +++ b/.github/workflows/build-plugin-deb-package.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Node.js run: | - curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - + curl -fsSL https://deb.nodesource.com/setup_26.x | sudo -E bash - sudo apt-get install -y nodejs - name: Verify Node.js installation diff --git a/.github/workflows/publish-tag.yml b/.github/workflows/publish-tag.yml index 6c91c1f..c02022c 100644 --- a/.github/workflows/publish-tag.yml +++ b/.github/workflows/publish-tag.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '24' + node-version: '26' - name: Get triggering user's email run: | diff --git a/.github/workflows/ts-code-compilation.yml b/.github/workflows/ts-code-compilation.yml index 3d917f4..be1cbb7 100644 --- a/.github/workflows/ts-code-compilation.yml +++ b/.github/workflows/ts-code-compilation.yml @@ -14,7 +14,7 @@ jobs: - name: install node uses: actions/setup-node@v4 with: - node-version: 24.x + node-version: 26.x - name: run npm install run: npm install - name: typescript code compilation diff --git a/.github/workflows/ts-code-validation.yml b/.github/workflows/ts-code-validation.yml index 7dbff82..aff7088 100644 --- a/.github/workflows/ts-code-validation.yml +++ b/.github/workflows/ts-code-validation.yml @@ -15,7 +15,7 @@ jobs: - name: install node uses: actions/setup-node@v4 with: - node-version: 24.x + node-version: 26.x - name: run npm install run: npm install - name: typescript code validation with eslint From a298c6170b07d5b657a615478b6a9256f7d20930 Mon Sep 17 00:00:00 2001 From: Claudio Promptoso Date: Mon, 16 Nov 2026 19:24:59 +0000 Subject: [PATCH 2/3] ci: read the Node version from .nvmrc Every workflow that installs Node now takes the version from .nvmrc: actions/setup-node uses node-version-file, and the Debian package workflow reads the major version for the NodeSource setup script (failing the step if .nvmrc does not hold a numeric major). The next version bump is a one-line change to .nvmrc. --- .github/workflows/build-plugin-deb-package.yml | 4 +++- .github/workflows/publish-tag.yml | 3 +-- .github/workflows/ts-code-compilation.yml | 2 +- .github/workflows/ts-code-validation.yml | 2 +- .nvmrc | 1 + 5 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .nvmrc diff --git a/.github/workflows/build-plugin-deb-package.yml b/.github/workflows/build-plugin-deb-package.yml index 5556f1a..a18564a 100644 --- a/.github/workflows/build-plugin-deb-package.yml +++ b/.github/workflows/build-plugin-deb-package.yml @@ -34,7 +34,9 @@ jobs: - name: Set up Node.js run: | - curl -fsSL https://deb.nodesource.com/setup_26.x | sudo -E bash - + NODE_MAJOR=$(tr -d 'v[:space:]' < .nvmrc | cut -d. -f1) + [[ "$NODE_MAJOR" =~ ^[0-9]+$ ]] || { echo "::error::.nvmrc must hold a Node major version, got '$NODE_MAJOR'"; exit 1; } + curl -fsSL "https://deb.nodesource.com/setup_${NODE_MAJOR}.x" | sudo -E bash - sudo apt-get install -y nodejs - name: Verify Node.js installation diff --git a/.github/workflows/publish-tag.yml b/.github/workflows/publish-tag.yml index c02022c..54de095 100644 --- a/.github/workflows/publish-tag.yml +++ b/.github/workflows/publish-tag.yml @@ -19,8 +19,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '26' - + node-version-file: '.nvmrc' - name: Get triggering user's email run: | user_email=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/users/${{ github.actor }} | jq -r '.email') diff --git a/.github/workflows/ts-code-compilation.yml b/.github/workflows/ts-code-compilation.yml index be1cbb7..8dbe1d4 100644 --- a/.github/workflows/ts-code-compilation.yml +++ b/.github/workflows/ts-code-compilation.yml @@ -14,7 +14,7 @@ jobs: - name: install node uses: actions/setup-node@v4 with: - node-version: 26.x + node-version-file: '.nvmrc' - name: run npm install run: npm install - name: typescript code compilation diff --git a/.github/workflows/ts-code-validation.yml b/.github/workflows/ts-code-validation.yml index aff7088..3afd065 100644 --- a/.github/workflows/ts-code-validation.yml +++ b/.github/workflows/ts-code-validation.yml @@ -15,7 +15,7 @@ jobs: - name: install node uses: actions/setup-node@v4 with: - node-version: 26.x + node-version-file: '.nvmrc' - name: run npm install run: npm install - name: typescript code validation with eslint diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..6f4247a --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +26 From 1e7232d40592056bd190c1cf353ccad7020c250c Mon Sep 17 00:00:00 2001 From: Claudio Promptoso Date: Tue, 17 Nov 2026 14:21:39 +0000 Subject: [PATCH 3/3] ci: restore blank line after the Node setup step The switch to node-version-file dropped the blank line that separated the Node setup step from the next one. Formatting only, no change in behavior. --- .github/workflows/publish-tag.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-tag.yml b/.github/workflows/publish-tag.yml index 54de095..440f432 100644 --- a/.github/workflows/publish-tag.yml +++ b/.github/workflows/publish-tag.yml @@ -20,6 +20,7 @@ jobs: uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' + - name: Get triggering user's email run: | user_email=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/users/${{ github.actor }} | jq -r '.email')