build: bump Node 20 to Node 24 across CI workflows and Flatpak manifest

Cherry-picked from PR #377 (thanks @Mar0xy) — Node-only portion, no
Discord IPC additions:

- 4 workflows (release-{linux,linux-aarch64,macos,flatpak}.yml) now
  install Node 24
- packaging/flatpak/com.blitzfc.qbz.yml: SDK extension node20 → node24,
  build append-path and npm_config_nodedir aligned

Forcing function: @icons-pack/svelte-simple-icons@7.x already in use
declares engines.node >=24, so Node 20 produces an EBADENGINE warning
in CI. Node 20 also reached EOL on 2026-04-30. Node 24 has been LTS
since October 2025 (~7 months of maturity).

Discord IPC permissions and qbz-wrapper script from #377 were
intentionally NOT cherry-picked — there's no Discord RPC feature in
QBZ today (#336 is still planned but not implemented), so adding the
sandbox permission and the launch wrapper now would expand the
attack surface for nothing. They'll land together with the actual
feature when it ships.

cc
This commit is contained in:
vicrodh committed 2026-05-05 12:10:07 -06:00
1 parent 0b181b0530
commit a912ced3d0
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ jobs:
org.gnome.Sdk//49 org.gnome.Sdk//49
# Install SDK extensions - flatpak-builder will auto-resolve the correct version based on the SDK # Install SDK extensions - flatpak-builder will auto-resolve the correct version based on the SDK
flatpak install --user -y --noninteractive flathub \ flatpak install --user -y --noninteractive flathub \
org.freedesktop.Sdk.Extension.node20//25.08 \ org.freedesktop.Sdk.Extension.node24//25.08 \
org.freedesktop.Sdk.Extension.rust-stable//25.08 \ org.freedesktop.Sdk.Extension.rust-stable//25.08 \
org.freedesktop.Sdk.Extension.llvm20//25.08 org.freedesktop.Sdk.Extension.llvm20//25.08
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 24
cache: npm cache: npm
- name: Setup Rust - name: Setup Rust
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 24
cache: npm cache: npm
- name: Resolve release version - name: Resolve release version
+1 -1
View File
@@ -30,7 +30,7 @@ jobs:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 24
cache: npm cache: npm
- name: Resolve release version - name: Resolve release version
+3 -3
View File
@@ -3,7 +3,7 @@ runtime: org.gnome.Platform
runtime-version: '49' runtime-version: '49'
sdk: org.gnome.Sdk sdk: org.gnome.Sdk
sdk-extensions: sdk-extensions:
- org.freedesktop.Sdk.Extension.node20 - org.freedesktop.Sdk.Extension.node24
- org.freedesktop.Sdk.Extension.rust-stable - org.freedesktop.Sdk.Extension.rust-stable
- org.freedesktop.Sdk.Extension.llvm20 - org.freedesktop.Sdk.Extension.llvm20
command: qbz command: qbz
@@ -138,11 +138,11 @@ modules:
- name: qbz - name: qbz
buildsystem: simple buildsystem: simple
build-options: build-options:
append-path: /usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin append-path: /usr/lib/sdk/node24/bin:/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm20/bin
build-args: build-args:
- --share=network - --share=network
env: env:
npm_config_nodedir: /usr/lib/sdk/node20 npm_config_nodedir: /usr/lib/sdk/node24
LIBCLANG_PATH: /usr/lib/sdk/llvm20/lib LIBCLANG_PATH: /usr/lib/sdk/llvm20/lib
build-commands: build-commands:
- npm ci - npm ci