diff --git a/.github/actions/cache-build/action.yml b/.github/actions/cache-build/action.yml index b892ad544c..9777b7d2a8 100644 --- a/.github/actions/cache-build/action.yml +++ b/.github/actions/cache-build/action.yml @@ -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('apps/**/**.[jt]s', 'apps/**/**.[jt]sx', 'packages/**/**.[jt]s', 'packages/**/**.[jt]sx') }} key-3: ${{ github.event.pull_request.number || github.ref }} with: path: |