@@ -70,13 +70,13 @@ jobs:
7070 runs-on : ubuntu-latest
7171 steps :
7272 - name : Checkout repository
73- uses : actions/checkout@v4
73+ uses : actions/checkout@v6
7474
7575 - name : Setup pnpm
7676 uses : pnpm/action-setup@v4
7777
7878 - name : Setup Node.js with cache
79- uses : actions/setup-node@v4
79+ uses : actions/setup-node@v6
8080 with :
8181 node-version : ' 20'
8282 cache : ' pnpm'
@@ -85,11 +85,11 @@ jobs:
8585 run : pnpm install --frozen-lockfile
8686
8787 - name : Cache Prisma Client
88- uses : actions/cache@v4
88+ uses : actions/cache@v5
8989 id : prisma-cache-validate
9090 with :
91- path : node_modules/.prisma/client
92- key : prisma-${{ runner.os }}-${{ hashFiles('prisma/schema.prisma') }}
91+ path : src/generated/prisma
92+ key : prisma-${{ runner.os }}-${{ hashFiles('prisma/schema.prisma', 'pnpm-lock.yaml' ) }}
9393
9494 - name : Generate Prisma client
9595 if : steps.prisma-cache-validate.outputs.cache-hit != 'true'
@@ -140,13 +140,13 @@ jobs:
140140
141141 steps :
142142 - name : Checkout repository
143- uses : actions/checkout@v4
143+ uses : actions/checkout@v6
144144
145145 - name : Setup pnpm
146146 uses : pnpm/action-setup@v4
147147
148148 - name : Setup Node.js with cache
149- uses : actions/setup-node@v4
149+ uses : actions/setup-node@v6
150150 with :
151151 node-version : ' 20'
152152 cache : ' pnpm'
@@ -155,11 +155,11 @@ jobs:
155155 run : pnpm install --frozen-lockfile
156156
157157 - name : Cache Prisma Client
158- uses : actions/cache@v4
158+ uses : actions/cache@v5
159159 id : prisma-cache-test
160160 with :
161- path : node_modules/.prisma/client
162- key : prisma-${{ runner.os }}-${{ hashFiles('prisma/schema.prisma') }}
161+ path : src/generated/prisma
162+ key : prisma-${{ runner.os }}-${{ hashFiles('prisma/schema.prisma', 'pnpm-lock.yaml' ) }}
163163
164164 - name : Generate Prisma client
165165 if : steps.prisma-cache-test.outputs.cache-hit != 'true'
@@ -207,7 +207,7 @@ jobs:
207207 cp -r .next/static .next/standalone/.next/static
208208
209209 - name : Cache Playwright browsers
210- uses : actions/cache@v4
210+ uses : actions/cache@v5
211211 id : playwright-cache
212212 with :
213213 path : ~/.cache/ms-playwright
@@ -225,15 +225,15 @@ jobs:
225225 run : pnpm exec playwright test
226226
227227 - name : Upload Playwright report
228- uses : actions/upload-artifact@v4
228+ uses : actions/upload-artifact@v7
229229 if : ${{ !cancelled() }}
230230 with :
231231 name : playwright-report
232232 path : playwright-report/
233233 retention-days : 14
234234
235235 - name : Upload test results
236- uses : actions/upload-artifact@v4
236+ uses : actions/upload-artifact@v7
237237 if : ${{ !cancelled() }}
238238 with :
239239 name : test-results
@@ -251,21 +251,21 @@ jobs:
251251
252252 steps :
253253 - name : Checkout repository
254- uses : actions/checkout@v4
254+ uses : actions/checkout@v6
255255
256256 - name : Set up Docker Buildx
257- uses : docker/setup-buildx-action@v3
257+ uses : docker/setup-buildx-action@v4
258258
259259 - name : Log in to Container Registry
260- uses : docker/login-action@v3
260+ uses : docker/login-action@v4
261261 with :
262262 registry : ${{ env.REGISTRY }}
263263 username : ${{ github.actor }}
264264 password : ${{ secrets.GITHUB_TOKEN }}
265265
266266 - name : Extract metadata
267267 id : meta
268- uses : docker/metadata-action@v5
268+ uses : docker/metadata-action@v6
269269 with :
270270 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
271271 tags : |
@@ -288,7 +288,7 @@ jobs:
288288
289289 - name : Build and push Docker image (Production - main branch)
290290 if : github.ref == 'refs/heads/main'
291- uses : docker/build-push-action@v5
291+ uses : docker/build-push-action@v7
292292 with :
293293 context : .
294294 file : ./Dockerfile
@@ -309,7 +309,7 @@ jobs:
309309
310310 - name : Build and push Docker image (Staging branch)
311311 if : github.ref == 'refs/heads/staging'
312- uses : docker/build-push-action@v5
312+ uses : docker/build-push-action@v7
313313 with :
314314 context : .
315315 file : ./Dockerfile
@@ -330,7 +330,7 @@ jobs:
330330
331331 - name : Build and push Docker image (PR/other branches)
332332 if : github.ref != 'refs/heads/main' && github.ref != 'refs/heads/staging'
333- uses : docker/build-push-action@v5
333+ uses : docker/build-push-action@v7
334334 with :
335335 context : .
336336 file : ./Dockerfile
0 commit comments