mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
The version-bump workflow injects `packageManager: pnpm@10.33.0` into `package.json` (PR #10972), which conflicts with the explicit `version: 10` in `pnpm/action-setup`. The newer action rejects having both specified. Upgrades all 16 workflow/action files from `pnpm/action-setup@v4.2.0` to `v4.4.0` and removes the `version: 10` input so pnpm version resolves from the `packageManager` field instead. This unblocks CI on the `1.42.11` version-bump PR (#11227) which is needed for the patch release. ┆Issue is synchronized with this [Notion page](https://app.notion.com/p/PR-11228-fix-ci-remove-pnpm-version-10-to-resolve-packageManager-conflict-on-core-1-42-3426d73d3650810fabbdfbec06df5b4a) by [Unito](https://www.unito.io) --------- Co-authored-by: GitHub Action <action@github.com>
32 lines
985 B
YAML
32 lines
985 B
YAML
name: Setup ComfyUI Frontend
|
|
description: 'Install nodejs/pnpm/dependencies and optionally build ComfyUI_frontend'
|
|
inputs:
|
|
include_build_step:
|
|
description: 'Include the build step to build the frontend. Set to true for workflows that need a built frontend'
|
|
required: false
|
|
default: 'false'
|
|
runs:
|
|
using: 'composite'
|
|
steps:
|
|
# Note: this workflow assume frontend repo is checked out in the root of the workspace
|
|
|
|
# Install pnpm, Node.js, build frontend
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version-file: '.nvmrc'
|
|
cache: 'pnpm'
|
|
cache-dependency-path: './pnpm-lock.yaml'
|
|
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Build ComfyUI_frontend
|
|
if: ${{ inputs.include_build_step == 'true' }}
|
|
shell: bash
|
|
run: pnpm build
|