Adjustments

pull/7267/head
zomars 2023-02-20 22:06:23 -07:00
parent 2f048acbe6
commit f5f57d9632
2 changed files with 5 additions and 2 deletions

View File

@ -77,6 +77,7 @@ runs:
with:
path: |
apps/web/.next
node_modules/.cache/turbo
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-

View File

@ -10,9 +10,11 @@ runs:
uses: actions/cache@v3
env:
cache-name: node-modules-yarn
cache-key: ${{ env.node_version }}-${{ hashFiles('yarn.lock') }}
cache-key: ${{ env.node_version }}-${{ hashFiles('yarn.lock', 'packages/prisma/schema.prisma')) }}
with:
path: node_modules
path: |
**/node_modules/**
packages/prisma/zod
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.cache-key }}
restore-keys: ${{ runner.os }}-${{ env.cache-name }}-
- name: Yarn install