Change cache keys to avoid cache collisions

This commit is contained in:
Kristjan ESPERANTO 2025-02-16 01:15:35 +01:00
parent 9a173c82df
commit 3591b3cad9
No known key found for this signature in database

View file

@ -41,7 +41,7 @@ jobs:
name: restore npm cache
uses: actions/cache@v4
with:
key: npm-cache-${{ github.ref_name }}
key: npm-cache-${{ github.ref_name }}-${{ matrix.node-version }}-unit-tests
path: ${{ env.npm_config_cache }}
- run: npm install
@ -68,7 +68,7 @@ jobs:
name: restore npm cache
uses: actions/cache@v4
with:
key: npm-cache-${{ github.ref_name }}
key: npm-cache-${{ github.ref_name }}-${{ matrix.node-version }}-integration-tests
path: ${{ env.npm_config_cache }}
- run: npm install
@ -96,7 +96,7 @@ jobs:
name: restore npm cache
uses: actions/cache@v4
with:
key: npm-cache-${{ github.ref_name }}
key: npm-cache-${{ github.ref_name }}-${{ matrix.node-version }}-e2e-tests
path: ${{ env.npm_config_cache }}
- run: npm install