From 2d17f9163963f74224179e37d8043c0eabcb31fa Mon Sep 17 00:00:00 2001 From: Kpa-clawbot <259247574+Kpa-clawbot@users.noreply.github.com> Date: Fri, 27 Mar 2026 13:28:35 -0700 Subject: [PATCH] ci: fix 3 deploy.yml warnings (Node24, Go cache, badge artifacts) - Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 env var for Node.js 20 deprecation - Add cache-dependency-path for go.sum files in cmd/server and cmd/ingestor - Add if-no-files-found: ignore to go-badges upload-artifact step Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 63cf8af8..eebee412 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,9 @@ concurrency: group: deploy cancel-in-progress: true +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + # Pipeline: go-test ──┐ # ├──→ build ──→ deploy-node ──→ deploy-go # node-test ─┘ @@ -32,6 +35,9 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.22' + cache-dependency-path: | + cmd/server/go.sum + cmd/ingestor/go.sum - name: Build and test Go server (with coverage) run: | @@ -95,6 +101,7 @@ jobs: name: go-badges path: .badges/go-*.json retention-days: 1 + if-no-files-found: ignore # ─────────────────────────────────────────────────────────────── # 2. Node.js Tests — backend unit tests + Playwright E2E, coverage