Upgrade Node.js from 20 to 22 LTS #182

Merged
eblume merged 1 commit from feature/node-22 into main 2026-02-13 11:07:41 -08:00
3 changed files with 3 additions and 2 deletions

View file

@ -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)

View file

@ -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

View file

@ -0,0 +1 @@
Upgrade Node.js from 20 to 22 (LTS) in Dagger docs build and forgejo-runner container