From 6e43d91be8d66c411901a6ac22c1cabacc46c22c Mon Sep 17 00:00:00 2001 From: Philip Zeyliger Date: Sun, 25 Jan 2026 09:37:25 -0800 Subject: [PATCH] ci: add Go and pnpm caching, upgrade to Node 24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Enable Go module caching via setup-go cache option - Add pnpm caching via setup-node cache option - Upgrade Node.js from 20 to 24 (current LTS) - Reorder pnpm setup before node setup for cache detection 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/release.yml | 13 ++++++++----- .github/workflows/test.yml | 13 ++++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57fb52149b4c8659fb461e1ac1c3513be4749271..90d02ba4789062b35f3d72fb25eeae0cc1a16bda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,17 +42,20 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' + cache: true - name: Set up pnpm uses: pnpm/action-setup@v4 with: version: 9 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '24' + cache: 'pnpm' + cache-dependency-path: ui/pnpm-lock.yaml + - name: Build UI run: | cd ui diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea0307f55f07b076671ad69c7eb8f2b65b954970..ebf1ed0cb99d758c7974615a8b1522e42d8e21b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,17 +19,20 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.24' - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' + cache: true - name: Set up pnpm uses: pnpm/action-setup@v4 with: version: 9 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '24' + cache: 'pnpm' + cache-dependency-path: ui/pnpm-lock.yaml + - name: Build UI run: | cd ui