更新工作流以使用 Bun 替代 Node 进行构建
This commit is contained in:
10
.github/workflows/publish-webui-dist.yml
vendored
10
.github/workflows/publish-webui-dist.yml
vendored
@@ -20,16 +20,16 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
node-version: 20
|
||||
bun-version: "1.2.0"
|
||||
|
||||
- name: Build dashboard
|
||||
working-directory: dashboard
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
bun install
|
||||
bun run build
|
||||
|
||||
- name: Prepare dist package
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user