From d5b43a7e09edc2a0306ec0c72c38a162f082e14d Mon Sep 17 00:00:00 2001 From: Khaliq Date: Fri, 23 Jan 2026 20:59:00 +0100 Subject: [PATCH] fix(ci): Clean reinstall node_modules after version bump MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit After version bumping changes all package.json files, npm install may not properly re-link workspace dependencies. Delete node_modules and reinstall fresh to ensure all dependencies are correctly resolved. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5c473d233..469adb450 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -187,8 +187,10 @@ jobs: } " - - name: Update package-lock.json and reinstall - run: npm install + - name: Clean reinstall after version bump + run: | + rm -rf node_modules packages/*/node_modules + npm install - name: Build all packages run: npm run build