ci: fix CD — install UI dependencies before build
小橘 🍊
This commit is contained in:
parent
066f120134
commit
5d2ece9f80
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
node-version: 22
|
node-version: 22
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- name: Build UI
|
- 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
|
- name: Deploy to Cloudflare Workers
|
||||||
run: cd packages/engine && npx wrangler deploy
|
run: cd packages/engine && npx wrangler deploy
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user