File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 5555 - uses : actions/checkout@v4
5656 - uses : ./.github/actions/dangerous-git-checkout
5757 - uses : ./.github/actions/yarn-install
58+ - run : yarn prisma generate
5859 - uses : ./.github/actions/cache-build
5960 - name : Analyze bundle
6061 run : |
Original file line number Diff line number Diff line change 44
55permissions :
66 contents : read
7+ actions : write
78
89env :
910 ALLOWED_HOSTNAMES : ${{ vars.CI_ALLOWED_HOSTNAMES }}
4445 - uses : actions/checkout@v4
4546 - uses : ./.github/actions/dangerous-git-checkout
4647 - uses : ./.github/actions/yarn-install
48+ - run : yarn prisma generate
49+ - name : Generate cache key
50+ id : cache-key
51+ uses : ./.github/actions/cache-build-key
52+ with :
53+ branch_key : ${{ github.head_ref || github.ref_name }}
54+ - name : Check if production build cache exists
55+ uses : actions/cache@v4
56+ id : cache-check
57+ with :
58+ path : |
59+ ${{ github.workspace }}/apps/web/.next
60+ ${{ github.workspace }}/apps/web/public/embed
61+ **/.turbo/**
62+ **/dist/**
63+ key : ${{ steps.cache-key.outputs.key }}
64+ lookup-only : true
65+ - name : Delete old production build caches for this branch
66+ if : steps.cache-check.outputs.cache-hit != 'true'
67+ uses : useblacksmith/cache-delete@v1
68+ with :
69+ key : prod-build-${{ github.head_ref || github.ref_name }}
70+ prefix : " true"
4771 - uses : ./.github/actions/cache-build
You can’t perform that action at this time.
0 commit comments