Skip to content

Commit 84907d7

Browse files
committed
Fix the build errors
1 parent 8cbef1c commit 84907d7

24 files changed

Lines changed: 9338 additions & 1146 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,38 @@ jobs:
4141

4242
- name: build
4343
run: bun run build
44+
45+
lint-build-mastra:
46+
strategy:
47+
matrix:
48+
node-version: [22.x]
49+
50+
runs-on: ubuntu-latest
51+
steps:
52+
- uses: actions/checkout@v5
53+
54+
- name: Use Node.js ${{ matrix.node-version }}
55+
uses: actions/setup-node@v4
56+
with:
57+
node-version: ${{ matrix.node-version }}
58+
check-latest: true
59+
60+
- uses: pnpm/action-setup@v4
61+
name: Install pnpm
62+
with:
63+
run_install: |
64+
- recursive: true
65+
args: [--no-frozen-lockfile]
66+
cwd: agents/agent-mastra
67+
- args: [--global, esbuild]
68+
package_json_file: agents/agent-mastra/package.json
69+
70+
- uses: oven-sh/setup-bun@v2
71+
72+
- name: lint
73+
working-directory: agents/agent-mastra
74+
run: bun run lint
75+
76+
- name: build
77+
working-directory: agents/agent-mastra
78+
run: bun run build

agents/agent-mastra/package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616
"dependencies": {
1717
"@ai-sdk/amazon-bedrock": "^2.2.12",
1818
"@ai-sdk/azure": "^1.3.25",
19-
"@mastra/core": "^0.11.1",
20-
"@mastra/mcp": "^0.10.10",
19+
"@mastra/core": "^0.13.2",
20+
"@mastra/libsql": "^0.13.2",
21+
"@mastra/loggers": "^0.10.6",
22+
"@mastra/mcp": "^0.10.11",
23+
"@mastra/memory": "^0.12.2",
2124
"langfuse-vercel": "^3.38.4",
2225
"zod": "^3.25.76"
2326
},
@@ -30,9 +33,10 @@
3033
"eslint-import-resolver-typescript": "^4.4.4",
3134
"eslint-plugin-import": "^2.32.0",
3235
"eslint-plugin-promise": "^7.2.1",
33-
"mastra": "^0.10.20",
34-
"tsx": "^4.20.3",
36+
"mastra": "^0.10.21",
37+
"pnpm": "^10.14.0",
3538
"typescript": "^5.9.2",
36-
"typescript-eslint": "^8.39.0"
37-
}
39+
"typescript-eslint": "^8.39.1"
40+
},
41+
"packageManager": "pnpm@10.14.0"
3842
}

0 commit comments

Comments
 (0)