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
This commit is contained in:
2026-08-02 01:31:47 +02:00
parent 82cfca4215
commit 85b1ca240e
+1 -3
View File
@@ -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