fix(ci): install git via apk before clone in node:22-alpine image
Web Client CI/CD / Deploy to shared hosting (push) Has been skipped
Web Client CI/CD / Lint (ESLint + TypeScript) (push) Failing after 2s
Web Client CI/CD / Build (tsc + Vite) (push) Failing after 2s

This commit is contained in:
root
2026-06-21 15:08:32 -04:00
parent 1e2345323f
commit 14eade0b7e
+2
View File
@@ -33,6 +33,7 @@ jobs:
env: env:
GIT_SSL_NO_VERIFY: "1" GIT_SSL_NO_VERIFY: "1"
run: | run: |
apk add --no-cache git
git clone --depth 1 \ git clone --depth 1 \
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \ "https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \
. .
@@ -67,6 +68,7 @@ jobs:
env: env:
GIT_SSL_NO_VERIFY: "1" GIT_SSL_NO_VERIFY: "1"
run: | run: |
apk add --no-cache git
git clone --depth 1 \ git clone --depth 1 \
"https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \ "https://x-access-token:${GITEA_TOKEN}@${GITEA_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \
. .