chore: add components node module binding to cache

This commit is contained in:
Karol Sójko
2022-10-14 14:12:49 +02:00
parent dc96b38c52
commit 3f87f223a3

View File

@@ -40,6 +40,7 @@ jobs:
path: | path: |
${{ steps.yarn-cache-dir-path.outputs.dir }} ${{ steps.yarn-cache-dir-path.outputs.dir }}
./node_modules ./node_modules
packages/components/**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-
@@ -87,6 +88,7 @@ jobs:
path: | path: |
${{ steps.yarn-cache-dir-path.outputs.dir }} ${{ steps.yarn-cache-dir-path.outputs.dir }}
./node_modules ./node_modules
packages/components/**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-
@@ -138,6 +140,7 @@ jobs:
path: | path: |
${{ steps.yarn-cache-dir-path.outputs.dir }} ${{ steps.yarn-cache-dir-path.outputs.dir }}
./node_modules ./node_modules
packages/components/**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-
@@ -189,6 +192,7 @@ jobs:
path: | path: |
${{ steps.yarn-cache-dir-path.outputs.dir }} ${{ steps.yarn-cache-dir-path.outputs.dir }}
./node_modules ./node_modules
packages/components/**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-
@@ -240,6 +244,7 @@ jobs:
path: | path: |
${{ steps.yarn-cache-dir-path.outputs.dir }} ${{ steps.yarn-cache-dir-path.outputs.dir }}
./node_modules ./node_modules
packages/components/**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-
@@ -315,6 +320,7 @@ jobs:
path: | path: |
${{ steps.yarn-cache-dir-path.outputs.dir }} ${{ steps.yarn-cache-dir-path.outputs.dir }}
./node_modules ./node_modules
packages/components/**/node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-