ci: fix CD — install UI dependencies before build

小橘 🍊
This commit is contained in:
小橘 2026-04-13 09:20:27 +00:00
parent 066f120134
commit 5d2ece9f80

View File

@ -28,7 +28,7 @@ jobs:
node-version: 22
- run: npm install
- name: Build UI
run: cd packages/engine/ui && npm run build && cp dist/index.html ../src/ui.html
run: cd packages/engine/ui && npm install && npm run build && cp dist/index.html ../src/ui.html
- name: Deploy to Cloudflare Workers
run: cd packages/engine && npx wrangler deploy
env: