From 496efb85af4234337c632571218f1b99d7e89b44 Mon Sep 17 00:00:00 2001 From: AV77web Date: Thu, 28 May 2026 18:41:35 +0200 Subject: [PATCH] inserita cache per .next/cache in deploy.yml --- .github/workflows/deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b0c19bb..b16aab0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,6 +19,16 @@ jobs: node-version: "20" cache: npm cache-dependency-path: package-lock.json + + - name: Restore Next.js cache + uses: https://github.com/actions/cache@v4 + with: + path: | + .next/cache + key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**/*.[jt]s', '**/*.[jt]sx') }} + restore-keys: | + ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}- + - name: Install dependencies run: npm ci