ci: invert frontend build flag

This commit is contained in:
snomiao
2025-10-08 22:06:57 +00:00
parent a812c678ee
commit ca77c48957
5 changed files with 11 additions and 11 deletions

View File

@@ -1,10 +1,10 @@
name: Build ComfyUI Frontend
description: 'Install dependencies and build ComfyUI_frontend'
inputs:
build_frontend:
description: 'Whether to build the frontend'
not_build:
description: 'Skip building the frontend'
required: false
default: 'true'
default: 'false'
runs:
using: 'composite'
steps:
@@ -40,6 +40,6 @@ runs:
run: pnpm install --frozen-lockfile
- name: Build ComfyUI_frontend if needed
if: ${{ inputs.build_frontend == 'true' }}
if: ${{ inputs.not_build != 'true' }}
shell: bash
run: pnpm build

View File

@@ -24,7 +24,7 @@ jobs:
- name: Setup frontend
uses: ./.github/actions/setup-frontend
with:
build_frontend: 'true'
not_build: 'false'
- name: Setup Playwright
uses: ./.github/actions/setup-playwright # Setup Playwright and cache browsers
@@ -66,7 +66,7 @@ jobs:
- name: Setup nodejs, pnpm, reuse built frontend
uses: ./.github/actions/setup-frontend
with:
build_frontend: 'false'
not_build: 'true'
- name: Setup Playwright
uses: ./.github/actions/setup-playwright
@@ -113,7 +113,7 @@ jobs:
- name: Setup nodejs, pnpm, reuse built frontend
uses: ./.github/actions/setup-frontend
with:
build_frontend: 'false'
not_build: 'true'
- name: Setup Playwright
uses: ./.github/actions/setup-playwright
@@ -149,7 +149,7 @@ jobs:
- name: Setup frontend
uses: ./.github/actions/setup-frontend
with:
build_frontend: 'false'
not_build: 'true'
- name: Setup Playwright
uses: ./.github/actions/setup-playwright

View File

@@ -32,7 +32,7 @@ jobs:
- name: Setup frontend
uses: ./.github/actions/setup-frontend
with:
build_frontend: 'true'
not_build: 'false'
- name: Setup Playwright
uses: ./.github/actions/setup-playwright

View File

@@ -23,7 +23,7 @@ jobs:
- name: Setup ComfyUI Frontend
uses: ./.github/actions/setup-frontend
with:
build_frontend: 'true'
not_build: 'false'
- name: Setup Playwright
uses: ./.github/actions/setup-playwright

View File

@@ -21,7 +21,7 @@ jobs:
- name: Setup frontend
uses: ./.github/actions/setup-frontend
with:
build_frontend: 'true'
not_build: 'false'
- name: Setup Playwright
uses: ./.github/actions/setup-playwright