From 2beb4e1cc92d1a616e658925a9d8b19736be2cbb Mon Sep 17 00:00:00 2001 From: bymyself Date: Wed, 13 May 2026 20:24:33 -0700 Subject: [PATCH] ci: replace npx with pnpx in workflows Aligns with repo tooling policy (pnpm). - ci-website-e2e.yaml: wrangler deploy - ci-tests-storybook.yaml: wrangler deploy - ci-oss-assets-validation.yaml: license-checker Closes #11537 Co-Authored-By: Claude Opus 4.5 --- .github/workflows/ci-oss-assets-validation.yaml | 2 +- .github/workflows/ci-tests-storybook.yaml | 2 +- .github/workflows/ci-website-e2e.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-oss-assets-validation.yaml b/.github/workflows/ci-oss-assets-validation.yaml index c05399d4dc..f4af279748 100644 --- a/.github/workflows/ci-oss-assets-validation.yaml +++ b/.github/workflows/ci-oss-assets-validation.yaml @@ -107,7 +107,7 @@ jobs: # Use license-checker-rseidelsohn (actively maintained fork, handles monorepos) # Exclude internal @comfyorg packages from license check # Run in if condition to capture exit code - if npx license-checker-rseidelsohn@4 \ + if pnpx license-checker-rseidelsohn@4 \ --production \ --summary \ --excludePackages '@comfyorg/comfyui-frontend;@comfyorg/design-system;@comfyorg/ingest-types;@comfyorg/registry-types;@comfyorg/shared-frontend-utils;@comfyorg/tailwind-utils;@comfyorg/comfyui-electron-types' \ diff --git a/.github/workflows/ci-tests-storybook.yaml b/.github/workflows/ci-tests-storybook.yaml index f53a254cf9..ecd72c1754 100644 --- a/.github/workflows/ci-tests-storybook.yaml +++ b/.github/workflows/ci-tests-storybook.yaml @@ -196,7 +196,7 @@ jobs: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} run: | - npx wrangler@^4.0.0 pages deploy storybook-static \ + pnpx wrangler@^4.0.0 pages deploy storybook-static \ --project-name=comfy-storybook \ --branch=main diff --git a/.github/workflows/ci-website-e2e.yaml b/.github/workflows/ci-website-e2e.yaml index ea8e7f0592..88d9d6b56a 100644 --- a/.github/workflows/ci-website-e2e.yaml +++ b/.github/workflows/ci-website-e2e.yaml @@ -77,7 +77,7 @@ jobs: DEPLOY_OK=false for i in 1 2 3; do echo "Deployment attempt $i of 3..." - OUTPUT=$(npx wrangler@^4.0.0 pages deploy apps/website/playwright-report \ + OUTPUT=$(pnpx wrangler@^4.0.0 pages deploy apps/website/playwright-report \ --project-name=comfyui-website-e2e \ --branch="$BRANCH" 2>&1) && { DEPLOY_OK=true; break; } || echo "$OUTPUT" [ $i -lt 3 ] && sleep 10