diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f5b8ec695..1f233c3e9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,10 @@ jobs: uses: actions/cache@v3 with: path: ~/.cache/mongodb-binaries - key: ${{ matrix.node-version }} + key: ${{ matrix.node-version }}-${{ hashFiles('**/globalSetup.ts') }} + restore-keys: | + ${{ matrix.node-version }}-${{ hashFiles('**/globalSetup.ts') }} + ${{ matrix.node-version }} - name: Install node_modules run: yarn - name: TSCheck