fix: add lockfile corruption handling to CI/CD and Dockerfiles

This commit is contained in:
Stephanos A
2026-06-16 21:40:01 +03:00
parent ad83c87e2f
commit 560aff222b
5 changed files with 12 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ COPY --from=pruner /app/out/json/ .
COPY --from=pruner /app/out/pnpm-lock.yaml ./pnpm-lock.yaml
RUN --mount=type=secret,id=npmrc,target=./.npmrc,required=false \
--mount=type=cache,id=pnpm,target=/pnpm/store \
pnpm install --frozen-lockfile
pnpm install --frozen-lockfile || pnpm install --no-frozen-lockfile
FROM base AS builder
ARG TURBO_FILTER