fix(ci): add pnpm store prune to Dockerfile and post-deploy checks
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 2m30s
Build & Deploy / 🏗️ Build (push) Successful in 4m55s
Build & Deploy / 🚀 Deploy (push) Successful in 15s
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled

Clear pnpm cache before installing dependencies in BuildKit and runner
to fix ERR_PNPM_TARBALL_INTEGRITY when internal packages are republished
with the same version.
This commit is contained in:
2026-02-27 02:43:17 +01:00
parent 3b45a967f7
commit b3057d8be0
2 changed files with 4 additions and 1 deletions

View File

@@ -446,7 +446,9 @@ jobs:
echo "//git.infra.mintel.me/api/packages/mmintel/npm/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
- name: Install dependencies
id: deps
run: pnpm install --no-frozen-lockfile
run: |
pnpm store prune
pnpm install --no-frozen-lockfile
- name: 📦 Cache APT Packages
uses: actions/cache@v4
with: