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 <noreply@anthropic.com>
This commit is contained in:
bymyself
2026-05-13 20:24:33 -07:00
parent d96be3d668
commit 2beb4e1cc9
3 changed files with 3 additions and 3 deletions

View File

@@ -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' \

View File

@@ -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

View File

@@ -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