mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: skip typecheck when building main branch for QA comparison
Main branch may have transient TS errors when built with the PR branch's lockfile. Since we only need the dist for visual comparison, run nx build directly instead of pnpm build (which includes typecheck). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
3
.github/workflows/pr-qa.yaml
vendored
3
.github/workflows/pr-qa.yaml
vendored
@@ -104,7 +104,8 @@ jobs:
|
||||
git stash --include-untracked || true
|
||||
git checkout origin/main -- .
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm build
|
||||
# Skip typecheck — main may have transient TS errors with our lockfile
|
||||
pnpm exec nx build
|
||||
mv dist dist-before
|
||||
# Restore PR branch
|
||||
git checkout - -- .
|
||||
|
||||
Reference in New Issue
Block a user