mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-06 08:00:05 +00:00
ci: invert frontend build flag
This commit is contained in:
8
.github/actions/setup-frontend/action.yml
vendored
8
.github/actions/setup-frontend/action.yml
vendored
@@ -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
|
||||
|
||||
8
.github/workflows/tests-ci.yaml
vendored
8
.github/workflows/tests-ci.yaml
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
2
.github/workflows/update-locales.yaml
vendored
2
.github/workflows/update-locales.yaml
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user