Restore Node.js to runner image for JavaScript Actions
actions/checkout@v4 and other JS-based Actions require Node.js in the job container. The Phase 3 simplification accidentally removed it. Uses Node 20 LTS via nodesource. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3d84483513
commit
e41cbe8cb9
2 changed files with 8 additions and 0 deletions
|
|
@ -18,10 +18,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
ca-certificates \
|
||||
curl \
|
||||
git \
|
||||
gnupg \
|
||||
jq \
|
||||
tzdata \
|
||||
&& 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 - \
|
||||
&& apt-get install -y --no-install-recommends nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& node --version
|
||||
|
||||
# Install uv (Python package runner for towncrier)
|
||||
RUN curl -LsSf https://astral.sh/uv/install.sh | sh \
|
||||
&& mv /root/.local/bin/uv /usr/local/bin/uv \
|
||||
|
|
|
|||
1
docs/changelog.d/fix-runner-node.bugfix.md
Normal file
1
docs/changelog.d/fix-runner-node.bugfix.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
Restore Node.js to Forgejo runner image — required by ``actions/checkout@v4`` and other JavaScript Actions that were broken by the Phase 3 simplification.
|
||||
Loading…
Add table
Add a link
Reference in a new issue