fix cache key

This commit is contained in:
Hans Pagel
2020-10-01 11:08:28 +02:00
parent 57888731fe
commit 15c5ddf423

View File

@@ -31,7 +31,7 @@ jobs:
path: | path: |
**/node_modules **/node_modules
/home/runner/.cache/Cypress /home/runner/.cache/Cypress
key: ${{ runner.os }}-node-${{ matrix.node-version }}-modules-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies - name: Install dependencies
id: install-dependencies id: install-dependencies
@@ -76,7 +76,7 @@ jobs:
path: | path: |
**/node_modules **/node_modules
/home/runner/.cache/Cypress /home/runner/.cache/Cypress
key: ${{ runner.os }}-node-${{ matrix.node-version }}-modules-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
- name: Run tests with Cypress - name: Run tests with Cypress
id: cypress id: cypress
@@ -137,7 +137,7 @@ jobs:
path: | path: |
**/node_modules **/node_modules
/home/runner/.cache/Cypress /home/runner/.cache/Cypress
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies - name: Install dependencies
id: install-dependencies id: install-dependencies