From bbf1852842413d6009de23840a10fe2e4f92f67e Mon Sep 17 00:00:00 2001 From: momme Date: Wed, 14 Oct 2026 01:57:27 +0200 Subject: [PATCH] site.yml: install git BEFORE checkout (else it falls back to archive, no .git) --- .gitea/workflows/site.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/site.yml b/.gitea/workflows/site.yml index 4fa6394..e4f2e5f 100644 --- a/.gitea/workflows/site.yml +++ b/.gitea/workflows/site.yml @@ -15,11 +15,13 @@ jobs: container: image: node:22-alpine steps: - - uses: actions/checkout@v4 - + # git before checkout: without the binary checkout silently falls back + # to an archive download and the workspace has no .git to diff against - name: install git run: apk add --no-cache git + - uses: actions/checkout@v4 + - run: npm ci --no-audit --no-fund - run: npm run build