From 3591b3cad95976700db45abc88ec65f38ded1b0b Mon Sep 17 00:00:00 2001 From: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com> Date: Sun, 16 Feb 2025 01:15:35 +0100 Subject: [PATCH] Change cache keys to avoid cache collisions --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8752d516..2854fd80 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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