From 2e051da7c0dc98c59668bba4373516f7cbcb2128 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Sun, 9 Aug 2026 19:45:46 +0200 Subject: [PATCH] ci: include runner arch in npm dep cache key --- .gitea/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index bd953cd..6e00782 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: with: path: | node_modules - key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} + key: ${{ runner.os }}-${{ runner.arch }}-npm-${{ hashFiles('package-lock.json') }} - name: Install dependencies if: steps.cache-deps.outputs.cache-hit != 'true' run: npm ci @@ -53,7 +53,7 @@ jobs: with: path: | node_modules - key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} + key: ${{ runner.os }}-${{ runner.arch }}-npm-${{ hashFiles('package-lock.json') }} - name: Install dependencies if: steps.cache-deps.outputs.cache-hit != 'true' run: npm ci -- 2.52.0