ci: include runner arch in npm dep cache key
CI / Dry-Run (pull_request) Successful in 2s
CI / Test (pull_request) Successful in 11s
CI / Check Dist (pull_request) Successful in 3m26s

This commit is contained in:
2026-08-09 19:45:46 +02:00
parent 91420fe7f3
commit 2e051da7c0
+2 -2
View File
@@ -28,7 +28,7 @@ jobs:
with: with:
path: | path: |
node_modules node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} key: ${{ runner.os }}-${{ runner.arch }}-npm-${{ hashFiles('package-lock.json') }}
- name: Install dependencies - name: Install dependencies
if: steps.cache-deps.outputs.cache-hit != 'true' if: steps.cache-deps.outputs.cache-hit != 'true'
run: npm ci run: npm ci
@@ -53,7 +53,7 @@ jobs:
with: with:
path: | path: |
node_modules node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} key: ${{ runner.os }}-${{ runner.arch }}-npm-${{ hashFiles('package-lock.json') }}
- name: Install dependencies - name: Install dependencies
if: steps.cache-deps.outputs.cache-hit != 'true' if: steps.cache-deps.outputs.cache-hit != 'true'
run: npm ci run: npm ci