From 394567a655ca82ef67387980304cd7ec172ef41c Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 18 May 2026 16:48:56 +0900 Subject: [PATCH] fix(ci): initialize submodules in publish-main checkout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8e2c80a0e..a369822ba 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -143,6 +143,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + submodules: recursive - run: git fetch --force --tags