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>
This commit is contained in:
Kpa-clawbotandCopilot committed 2026-03-27 13:28:35 -07:00
1 parent 5539bc9fde
commit 2d17f91639
1 file changed
+7
+7
View File
@@ -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