fix(ci): enforce loose lockfile on dynamically cloned upstream monorepo during setup to avoid sync-mismatch panic
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Failing after 2m9s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-03-01 09:15:33 +01:00
parent 4f66dd914c
commit 22a6a06a4e
2 changed files with 2 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ jobs:
run: |
cp .npmrc _at-mintel/
cd _at-mintel
pnpm install
pnpm install --no-frozen-lockfile
pnpm build
- name: Install dependencies
run: pnpm install --no-frozen-lockfile

View File

@@ -28,7 +28,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store \
echo "@mintel:registry=https://npm.infra.mintel.me" > /at-mintel/.npmrc && \
echo "//npm.infra.mintel.me/:_authToken=\${NPM_TOKEN}" >> /at-mintel/.npmrc && \
cp /at-mintel/.npmrc .npmrc && \
cd /at-mintel && pnpm install && pnpm build && \
cd /at-mintel && pnpm install --no-frozen-lockfile && pnpm build && \
cd /app && pnpm install --no-frozen-lockfile && \
rm /at-mintel/.npmrc .npmrc