From 3c42614f1e3e846356255f465a3322fadee9d66a Mon Sep 17 00:00:00 2001 From: Daniel Gee Date: Sat, 28 Mar 2026 19:16:28 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Bump=20actions/checkout=20v5=E2=86=92v6=20a?= =?UTF-8?q?nd=20actions/cache=20v4=E2=86=92v5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Combines dependabot PRs #782, #783, #807, #808 into a single update. - actions/checkout v6: credential storage moved to RUNNER_TEMP (security improvement) - actions/cache v5: uses Node.js 24 runtime and new cache service APIs Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dab77049..6c900a57 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Use Node.js 22.x uses: actions/setup-node@v6 @@ -27,7 +27,7 @@ jobs: node-version: 22.x - name: Cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.pnpm-store key: ${{ runner.os }}-pnpm-${{ hashFiles('ui/menu-website/pnpm-lock.yaml') }} From 004e324768c027ced4b9b04c061a036f9b31168a Mon Sep 17 00:00:00 2001 From: Daniel Gee Date: Sat, 28 Mar 2026 19:29:13 +0000 Subject: [PATCH 2/2] Fix pnpm cache: use setup-node built-in caching Replace manual actions/cache step (which used non-existent ~/.pnpm-store path) with actions/setup-node's built-in cache: 'pnpm' which auto-detects the correct pnpm store directory. Reorder steps so corepack enables pnpm before setup-node runs, allowing setup-node to discover the pnpm store path for caching. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/main.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6c900a57..46fa6015 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,21 +21,15 @@ jobs: - name: Checkout uses: actions/checkout@v6 + - name: Enable pnpm with corepack + run: corepack enable pnpm + - name: Use Node.js 22.x uses: actions/setup-node@v6 with: node-version: 22.x - - - name: Cache - uses: actions/cache@v5 - with: - path: ~/.pnpm-store - key: ${{ runner.os }}-pnpm-${{ hashFiles('ui/menu-website/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm- - - - name: Enable pnpm with corepack - run: corepack enable pnpm + cache: 'pnpm' + cache-dependency-path: ui/menu-website/pnpm-lock.yaml - name: Setup dotnet 10.x uses: actions/setup-dotnet@v5