feat: optimize release workflow with npm caching and version validation - #369
Conversation
- Add .nvmrc file for consistent Node.js version management (v20) - Enable npm caching in release workflow for faster builds - Add verifyConditions step to detect version mismatches before release - Improve git hooks bypass documentation with detailed comments Performance improvements: - npm ci time reduced by 50-70% on cache hit - Node version managed centrally via .nvmrc Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThe pull request updates Node.js version management by introducing a .nvmrc file with Node.js 20 and configuring the release workflow to use it. A new validation step is added to the release configuration that checks plugin.json versions against the last release version before proceeding with the release. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
# [4.3.0](v4.2.0...v4.3.0) (2026-02-04) ### Code Refactoring * **conversation-memory:** remove fallback logic and document environment variables ([2ea1fe7](2ea1fe7)) ### Features * **conversation-memory:** improve summarization error handling and trivial detection ([02bbdac](02bbdac)) * **create-pr:** enhance workflow with better error handling ([#368](#368)) ([6baf6b9](6baf6b9)) * optimize release workflow with npm caching and version validation ([#369](#369)) ([f80338e](f80338e)) ### BREAKING CHANGES * **conversation-memory:** Fallback retry on thinking budget errors is removed. Set appropriate model via CONVERSATION_MEMORY_API_MODEL instead. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
# [4.3.0](baleen37/bstack@v4.2.0...v4.3.0) (2026-02-04) ### Code Refactoring * **conversation-memory:** remove fallback logic and document environment variables ([2ea1fe7](baleen37/bstack@2ea1fe7)) ### Features * **conversation-memory:** improve summarization error handling and trivial detection ([02bbdac](baleen37/bstack@02bbdac)) * **create-pr:** enhance workflow with better error handling ([#368](baleen37/bstack#368)) ([6baf6b9](baleen37/bstack@6baf6b9)) * optimize release workflow with npm caching and version validation ([#369](baleen37/bstack#369)) ([f80338e](baleen37/bstack@f80338e)) ### BREAKING CHANGES * **conversation-memory:** Fallback retry on thinking budget errors is removed. Set appropriate model via CONVERSATION_MEMORY_API_MODEL instead. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Summary
Release workflow를 최적화하여 빌드 성능을 개선하고 버전 관리 안정성을 강화했습니다.
Changes
.nvmrc파일 추가: Node.js 버전 20을 명시하여 로컬/CI 환경 일관성 보장setup-node@v4의cache: 'npm'옵션으로 의존성 설치 속도 개선.releaserc.js에verifyConditions메서드 추가로 릴리즈 전 버전 불일치 사전 감지Performance Improvements
Version Validation
새로운
verifyConditions단계에서:plugin.json버전 확인marketplace.json의 모든 플러그인 버전 확인Test Plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes