fix(ci): initialize submodules in publish-main checkout
The publish-main job runs npm publish which triggers prepublishOnly → build:lsp-tools-mcp. That script needs packages/lsp-tools-mcp/ populated, but actions/checkout@v4 doesn't init submodules by default. Without this, publish-main failed with 'npm error code 1' on an empty packages/lsp-tools-mcp/ directory, blocking v4.2.0 release. Aligns with ci.yml which already uses submodules: recursive everywhere.
This commit is contained in:
@@ -143,6 +143,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: recursive
|
||||
|
||||
- run: git fetch --force --tags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user