CI: install node+git in slim container so actions/checkout can run
Some checks failed
build / lint-test (push) Successful in 1m10s
build / build-push (push) Has been cancelled

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
kianiadee 2026-05-29 01:25:37 +03:00
parent cf747d3efe
commit 478300611f

View file

@ -17,6 +17,16 @@ jobs:
container: container:
image: python:3.12-slim image: python:3.12-slim
steps: 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 - uses: actions/checkout@v4
- name: Install deps - name: Install deps