Commit 40c6e58
committed
fix(ci): build workspaces before typecheck in publish workflow
The CLI's typecheck resolves @ibm/ibmi-mcp-server/{tools,services,context,
formatting} through the server's exports map, which points at ./dist/public/*.js.
On a fresh CI runner, those files do not exist until npm run build executes.
Running typecheck before build causes TS2307 module-resolution errors and fails
the publish workflow (observed on v0.5.0 publish run).
Move the Build step above Run tests and checks so the server's dist/ is present
when typecheck runs. The root build script already orders server before CLI.
Signed-off-by: Adam Shedivy <ajshedivyaj@gmail.com>1 parent ff0b564 commit 40c6e58
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
36 | 44 | | |
37 | 45 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
0 commit comments