From 034c3f97f40463849b082844847962748ed058f8 Mon Sep 17 00:00:00 2001 From: bymyself Date: Thu, 9 Oct 2025 15:36:39 -0700 Subject: [PATCH] [bugfix] Fix update-playwright-expectations workflow missing frontend build The workflow was trying to launch the ComfyUI server with `--front-end-root ../dist` before building the frontend, causing: error: argument --front-end-root: The path '../dist' does not exist. Solution: Build frontend before setting up server, so dist/ exists when the server launches. Fixes errors seen on PR #5863 and any PR using /update-playwright comment. --- .github/workflows/update-playwright-expectations.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/update-playwright-expectations.yaml b/.github/workflows/update-playwright-expectations.yaml index 981038d9f9..61d5051d44 100644 --- a/.github/workflows/update-playwright-expectations.yaml +++ b/.github/workflows/update-playwright-expectations.yaml @@ -55,6 +55,10 @@ jobs: uses: actions/checkout@v5 with: ref: ${{ steps.get-branch.outputs.branch }} + - name: Setup Frontend + uses: ./.github/actions/setup-frontend + with: + include_build_step: true - name: Setup ComfyUI Server uses: ./.github/actions/setup-comfyui-server with: