ci(workflows): improve caching and optimize dependency installation

Add Next.js build cache to deployment workflow for improved performance. Update all workflows to use `pnpm install --frozen-lockfile --prefer-offline` for faster and more reliable dependency management.
This commit is contained in:
Mathis HERRIOT
2026-01-15 00:39:56 +01:00
parent 7048c2731e
commit f79507730e
3 changed files with 14 additions and 3 deletions

View File

@@ -38,6 +38,6 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --frozen-lockfile --prefer-offline
- name: Lint ${{ matrix.component }}
run: pnpm -F @memegoat/${{ matrix.component }} lint