Skip to content

Commit e804926

Browse files
mydeaclaude
andcommitted
fix(ci): Remove hardcoded default from Playwright Dockerfile
Remove the default value for PLAYWRIGHT_VERSION ARG so the build fails if the arg isn't passed. The ensure-playwright-image action reads the version from browser-integration-tests/package.json and passes it as a build arg — that is the single source of truth. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ea7b1c2 commit e804926

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/docker/playwright.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
ARG PLAYWRIGHT_VERSION=1.56.1
1+
# PLAYWRIGHT_VERSION is passed as a build arg by the ensure-playwright-image action.
2+
# The canonical source is dev-packages/browser-integration-tests/package.json.
3+
ARG PLAYWRIGHT_VERSION
24
FROM mcr.microsoft.com/playwright:v${PLAYWRIGHT_VERSION}-noble
35

46
# Install yarn (v1) for the monorepo

0 commit comments

Comments
 (0)