46 - Install git in the build job so checkout works
Some checks failed
CI / ci (push) Successful in 30s
CI / build (push) Failing after 1m19s
CI / ci (pull_request) Successful in 35s
CI / build (pull_request) Failing after 1m26s

This commit is contained in:
myrmidex 2026-08-16 10:58:21 +02:00
parent d778cfbebb
commit bb0b94f8fe

View file

@ -110,9 +110,16 @@ jobs:
build:
runs-on: docker
container:
# Vite 8 needs node >= 22.12, so the CI image's bookworm nodejs is too old
# for this job and it gets its own image.
image: node:22-bookworm-slim
steps:
# checkout@v4 without git falls back to a REST API tarball download that
# Forgejo does not serve, failing with a bare 404.
- name: Install git
run: apt-get update && apt-get install -y --no-install-recommends git
- uses: https://data.forgejo.org/actions/checkout@v4
- name: Install JS dependencies