Skip to content

Commit

Permalink
[ci] 修复构建流程
Browse files Browse the repository at this point in the history
  • Loading branch information
MiaowFISH committed Jan 6, 2025
1 parent b5b65fc commit 0186b65
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@ jobs:
run: yarn install

- name: Lint JavaScript
run: yarn build
# 这里要按顺序执行
run: |
yarn build core &&
yarn build memory &&
yarn build webui
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@root/yesimbot",
"version": "0.0.0",
"private": true,
"packageManager": "[email protected]",
"homepage": "https://github.com/HydroGest/YesImBot",
"contributors": [
"HydroGest <[email protected]>",
Expand All @@ -27,7 +28,8 @@
},
"prettier": "@hamster-bot/prettier-config",
"devDependencies": {
"typescript": "^5.7.2",
"@types/node": "^22.10.5",
"typescript": "^5.8.0-dev.20250106",
"yakumo": "^1.0.0-beta.20",
"yakumo-esbuild": "^1.0.0-beta.7",
"yakumo-tsc": "^1.0.0-beta.5",
Expand Down
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"koishi": "^4.18.5"
},
"devDependencies": {
"@koishijs/plugin-mock": "^2.6.6"
"@koishijs/plugin-mock": "^2.6.6",
"koishi": "^4.18.5"
},
"exports": {
".": {
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export function initDatabase(ctx: Context) {
senderNick: "string",
messageId: "string",
channelId: "string",
channelType: "integer",
sendTime: "timestamp",
content: "string",
quoteMessageId: "string",
Expand Down

0 comments on commit 0186b65

Please sign in to comment.