Skip to content

Commit

Permalink
chore(workflows/tests): update cache on file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Jun 8, 2024
1 parent 0e8be52 commit 49cf6e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.cache/mongodb-binaries
key: ${{ matrix.node-version }}
key: ${{ matrix.node-version }}-${{ hashFiles('**/globalSetup.ts') }}
restore-keys: |
${{ matrix.node-version }}-
${{ matrix.node-version }}
- name: Install node_modules
run: yarn
- name: TSCheck
Expand Down

0 comments on commit 49cf6e0

Please sign in to comment.