From 478300611f7a077ab4309c14d24dcda08ecf393d Mon Sep 17 00:00:00 2001 From: kianiadee Date: Fri, 29 May 2026 01:25:37 +0300 Subject: [PATCH] CI: install node+git in slim container so actions/checkout can run Co-Authored-By: Claude Opus 4.8 --- .forgejo/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index da22389..d56fd1d 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -17,6 +17,16 @@ jobs: container: image: python:3.12-slim steps: + # python:3.12-slim ships no node/git, but actions/checkout@v4 is a + # Node action — without this the job dies at checkout with + # `exec: "node": executable file not found`. Runs before checkout via + # the container shell (no node needed for a `run` step). + - name: Provide node + git for JS actions + run: | + apt-get update + apt-get install -y --no-install-recommends git nodejs + rm -rf /var/lib/apt/lists/* + - uses: actions/checkout@v4 - name: Install deps