Skip to content

Commit

Permalink
Update cache key to include bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
rien committed Oct 26, 2023
1 parent 3ca6f21 commit f03bba7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Setup Node πŸ“š
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -307,7 +307,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -348,7 +348,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -417,7 +417,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -503,7 +503,7 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/*/node_modules
${{ github.workspace }}/parsers/build
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('yarn.lock', 'package.json', '*/package.json') }}
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('./yarn.lock', './package.json, './*/package.json', './parsers/binding.gyp', './.gitmodules') }}

- name: Check if cache was hit πŸ”Ž
if: steps.cache-dependencies.outputs.cache-hit != 'true'
Expand Down

0 comments on commit f03bba7

Please sign in to comment.