From 6973957ab938c7a45538a91c71a9c5951809a414 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Sun, 9 Aug 2026 20:23:31 +0200 Subject: [PATCH] ci: include runner arch in npm dep cache key (#69) Reviewed-on: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action/pulls/69 Co-authored-by: Timo Behrendt Co-committed-by: Timo Behrendt --- .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