diff --git a/.dagger/src/blumeops_ci/main.py b/.dagger/src/blumeops_ci/main.py index b0b503f..8f2373f 100644 --- a/.dagger/src/blumeops_ci/main.py +++ b/.dagger/src/blumeops_ci/main.py @@ -49,7 +49,7 @@ class BlumeopsCi: updated_src = await self.build_changelog(src, version) return await ( dag.container() - .from_("node:20-slim") + .from_("node:22-slim") .with_exec(["apt-get", "update", "-qq"]) .with_exec(["apt-get", "install", "-y", "-qq", "git"]) .with_directory("/workspace", updated_src) diff --git a/containers/forgejo-runner/Dockerfile b/containers/forgejo-runner/Dockerfile index 2adaf42..2ea9dbc 100644 --- a/containers/forgejo-runner/Dockerfile +++ b/containers/forgejo-runner/Dockerfile @@ -24,7 +24,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* # Install Node.js (required by actions/checkout and other JavaScript Actions) -RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ +RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - \ && apt-get install -y --no-install-recommends nodejs \ && rm -rf /var/lib/apt/lists/* \ && node --version diff --git a/docs/changelog.d/feature-node-22.infra.md b/docs/changelog.d/feature-node-22.infra.md new file mode 100644 index 0000000..a0c08db --- /dev/null +++ b/docs/changelog.d/feature-node-22.infra.md @@ -0,0 +1 @@ +Upgrade Node.js from 20 to 22 (LTS) in Dagger docs build and forgejo-runner container