From 22488d5bf5a3be6e113122c775313224109bf326 Mon Sep 17 00:00:00 2001 From: Julia McGhee Date: Sat, 21 Mar 2026 16:34:22 +0000 Subject: [PATCH] Fix CI: install jq/kustomize, fetch-depth 2 for deploy-production node:20-bookworm doesn't include jq or kustomize. Also need fetch-depth: 2 so HEAD~1 exists for turbo's change detection. --- .gitea/workflows/ci.yaml | 2 ++ .gitea/workflows/deploy-preview.yaml | 2 ++ .gitea/workflows/deploy-production.yaml | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index f2d8dba..ce9f1e2 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -20,6 +20,8 @@ jobs: with: fetch-depth: 0 + - run: apt-get update && apt-get install -y jq + - name: Detect changed apps id: filter run: | diff --git a/.gitea/workflows/deploy-preview.yaml b/.gitea/workflows/deploy-preview.yaml index 9562c34..545800f 100644 --- a/.gitea/workflows/deploy-preview.yaml +++ b/.gitea/workflows/deploy-preview.yaml @@ -10,6 +10,8 @@ jobs: steps: - uses: actions/checkout@v4 + - run: apt-get update && apt-get install -y jq kustomize + - run: corepack enable && corepack prepare pnpm@latest --activate - run: pnpm install --frozen-lockfile diff --git a/.gitea/workflows/deploy-production.yaml b/.gitea/workflows/deploy-production.yaml index 8a9d3b0..683dc7d 100644 --- a/.gitea/workflows/deploy-production.yaml +++ b/.gitea/workflows/deploy-production.yaml @@ -9,6 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 2 + + - run: apt-get update && apt-get install -y jq kustomize - run: corepack enable && corepack prepare pnpm@latest --activate