更新工作流以使用 Bun 替代 Node 进行构建

pull/1496/head
DrSmoothl 2026-02-15 16:32:20 +08:00
parent a19b9b2c42
commit 15ab1343b9
No known key found for this signature in database
1 changed files with 5 additions and 5 deletions

View File

@ -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: |