From 6f8576d9688441433965ca5d7b84ec128e9a1bb6 Mon Sep 17 00:00:00 2001 From: xiayu Date: Tue, 1 Sep 2026 14:57:06 +0800 Subject: [PATCH] ci(publish): uv sync before playwright install in PyPI publish The publish job has no Install dependencies step, so `uv run playwright install` could not find the playwright binary. Run `uv sync --extra all` first (matching release-check) then install chromium so the Phase 2 browser gates have both the package and the browser. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/publish-pypi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 4a4d6d29..98950542 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -67,7 +67,9 @@ jobs: run: make sync-ksadk-web-static - name: Install Chromium for Phase 2 browser gates - run: uv run playwright install --with-deps chromium + run: | + uv sync --extra all + uv run playwright install --with-deps chromium - name: Run public release preflight if: env.PUBLISH_TARGET == 'full'