fix(ci): run contract autofix through Vite+

This commit is contained in:
-LAN-
2026-05-18 14:52:29 +08:00
parent 28818f2e2a
commit e06f697dc6

View File

@ -124,7 +124,7 @@ jobs:
- name: Generate frontend contracts
if: github.event_name != 'merge_group' && steps.api-changes.outputs.any_changed == 'true'
run: pnpm --dir packages/contracts gen-api-contract-from-openapi
run: vp run @dify/contracts#gen-api-contract-from-openapi
- name: ESLint autofix
if: github.event_name != 'merge_group' && steps.web-changes.outputs.any_changed == 'true'