site.yml: install git BEFORE checkout (else it falls back to archive, no .git)
site / generated-is-current (push) Successful in 32s

This commit is contained in:
momme
2026-10-14 01:57:27 +02:00
parent 5b3e03ef5b
commit bbf1852842
+4 -2
View File
@@ -15,11 +15,13 @@ jobs:
container: container:
image: node:22-alpine image: node:22-alpine
steps: 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 - name: install git
run: apk add --no-cache git run: apk add --no-cache git
- uses: actions/checkout@v4
- run: npm ci --no-audit --no-fund - run: npm ci --no-audit --no-fund
- run: npm run build - run: npm run build