mirror of https://github.com/Mai-with-u/MaiBot.git
更新工作流以使用 Bun 替代 Node 进行构建
parent
a19b9b2c42
commit
15ab1343b9
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue