Skip to content

Commit 1c22235

Browse files
committed
chore(workflows/tests): update cache on file changes
1 parent 2cef51e commit 1c22235

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/tests.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
uses: actions/cache@v4
3838
with:
3939
path: ~/.cache/mongodb-binaries
40-
key: ${{ matrix.node-version }}
40+
key: ${{ matrix.node-version }}-${{ hashFiles('**/globalSetup.ts') }}
41+
restore-keys: |
42+
${{ matrix.node-version }}-
43+
${{ matrix.node-version }}
4144
- name: Install node_modules
4245
run: yarn
4346
- name: TSCheck

0 commit comments

Comments
 (0)