From 85b1ca240ed7ed20f99c6576e8299ecddf7882e2 Mon Sep 17 00:00:00 2001 From: Ninosaurier Date: Sun, 2 Aug 2026 01:31:47 +0200 Subject: [PATCH] fix(deps): pin playwright exactly and respect lockfile in docker build The Playwright version was pinned with a caret range and the test Dockerfile deleted pnpm-lock.yaml before installing, so every image build silently re-resolved to the latest matching Playwright version. This caused the npm package and the Docker base image to drift apart. - packages/luna-charts/package.json: pin playwright to 1.62.1 exactly - Dockerfile.test: stop deleting pnpm-lock.yaml before install, and use --frozen-lockfile so a mismatch between package.json and the lockfile fails the build loudly instead of resolving silently --- Dockerfile.test | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile.test b/Dockerfile.test index 4de7f2f..3763117 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -10,11 +10,9 @@ COPY . . RUN rm -rf node_modules packages/**/node_modules -RUN rm -f pnpm-lock.yaml - ENV PNPM_CONFIG_SUPPORTED_ARCHITECTURES="current,linux-x64-gnu" -RUN pnpm install +RUN pnpm install --frozen-lockfile WORKDIR /app/packages/luna-charts