build: switch to Node 22

Node 20 is still supported. The idea is to use the same version of Node
as in Debian Unstable, since that's what I usually test.
This commit is contained in:
Vincent Bernat
2025-11-28 23:48:18 +01:00
parent 0ba36cf66e
commit 00e4578d17
3 changed files with 3 additions and 3 deletions

View File

@@ -290,7 +290,7 @@ jobs:
exclude: exclude:
- dependabot: go_modules - dependabot: go_modules
include: include:
- node-version: 20 - node-version: 22
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
with: with:

View File

@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:20-alpine AS build-js FROM --platform=$BUILDPLATFORM node:22-alpine AS build-js
RUN apk add --no-cache make RUN apk add --no-cache make
WORKDIR /build WORKDIR /build
COPY console/frontend console/frontend COPY console/frontend console/frontend

View File

@@ -18,7 +18,7 @@
inherit system; inherit system;
}; };
l = builtins // pkgs.lib; l = builtins // pkgs.lib;
nodejs = pkgs.nodejs_20; nodejs = pkgs.nodejs_22;
pnpm = pkgs.pnpm_10; pnpm = pkgs.pnpm_10;
go = pkgs.go_latest; go = pkgs.go_latest;
frontend = pkgs.stdenvNoCC.mkDerivation rec { frontend = pkgs.stdenvNoCC.mkDerivation rec {