File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,12 +13,15 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v4
16+ - uses : pnpm/action-setup@v2
17+ with :
18+ version : latest # 使用最新版pnpm
1619 - uses : actions/setup-node@v4
1720 with :
18- node-version : 20
21+ node-version : 22
1922 registry-url : https://registry.npmjs.org/
20- - run : npm ci
21- - run : npm run build # 编译ts为js
23+ - run : pnpm install --frozen-lockfile # 类似npm ci,严格遵循lockfile
24+ - run : pnpm run build # 编译ts为js
2225 - run : npm publish
2326 env :
2427 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change 11# 更新日志
22
3+ ## [ 1.10.6] - 2025-10-09
4+
5+ - 配置github action,在合并到main分支时发布到npm
6+
37## [ 1.10.5] - 2025-10-09
48
59- 修复npm包中` minecrafthawkeye ` 插件动态导入失败导致事件系统无法正常工作的问题
Original file line number Diff line number Diff line change 11{
22 "name" : " maicraft" ,
3- "version" : " 1.10.5 " ,
3+ "version" : " 1.10.6 " ,
44 "description" : " 基于mineflayer构建的 Minecraft MCP Server,主要用于MaiBot直播Minecraft" ,
55 "type" : " module" ,
66 "main" : " dist/main.js" ,
You can’t perform that action at this time.
0 commit comments