File tree Expand file tree Collapse file tree 3 files changed +1117
-3974
lines changed
Expand file tree Collapse file tree 3 files changed +1117
-3974
lines changed Original file line number Diff line number Diff line change 2323 uses : actions/setup-node@v4
2424 with :
2525 node-version : " 20"
26- cache : " yarn"
2726
28- # 3. 安装 OSS 工具
27+ # 3. 设置 Bun 环境
28+ - name : Setup Bun Environment
29+ uses : oven-sh/setup-bun@v1
30+ with :
31+ bun-version : latest
32+
33+ # 4. 安装 OSS 工具
2934 - name : Install OSS Utils
3035 run : |
3136 cd ../
3641
3742 # 5. 安装依赖 & 构建
3843 - name : Install Dependencies
39- run : yarn install --frozen-lockfile
44+ run : bun install --frozen-lockfile
4045
4146 # 6. 拉取 oflow-interface 仓库
4247 - name : Clone oflow-interface
@@ -48,21 +53,21 @@ jobs:
4853 - name : Build oflow-interface
4954 run : |
5055 cd ../oflow-interface
51- yarn install --frozen-lockfile
52- yarn build
53- yarn link
56+ bun install --frozen-lockfile
57+ bun run build
58+ bun link
5459
5560 # 8. 链接 oflow-interface 到 oflow-space 仓库
5661 - name : Link oflow-interface to oflow-space
57- run : yarn link oflow-interface
62+ run : bun link oflow-interface
5863
5964 # 9. 执行全部单元测试
6065 - name : Run Unit Tests
61- run : yarn test
66+ run : bun run test
6267
6368 # 10. 构建静态编译并导出
6469 - name : Build Project
65- run : yarn build
70+ run : bun run build
6671
6772 # 11. 读取 package.json 中的 Plugin ID 及 Version
6873 - name : Extract Plugin ID and Version
You can’t perform that action at this time.
0 commit comments