site.yml: install git BEFORE checkout (else it falls back to archive, no .git)
site / generated-is-current (push) Successful in 32s
site / generated-is-current (push) Successful in 32s
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user