mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
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:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user