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