Negate node_modules to decrease the file count

pull/7204/head
Alex van Andel 2023-02-28 19:06:12 +00:00
parent 29e9bd0ee7
commit 12f2c1f431
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ runs:
env:
cache-name: prod-build
key-1: ${{ inputs.node_version }}-${{ hashFiles('yarn.lock') }}
key-2: ${{ hashFiles('**/**.[jt]s', '**/**.[jt]sx') }}
key-2: ${{ hashFiles('**/**.[jt]s', '**/**.[jt]sx', '!**/node_modules') }}
key-3: ${{ github.event.pull_request.number || github.ref }}
with:
path: |