You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve build scripts and Node version pinning per code review
Based on detailed code review feedback, this commit improves CI
reliability and package build configuration:
1. **Fix node-renderer prepack/prepare scripts**
- Changed from `nps build.prepack` to `yarn run build`
- Simplifies build process and removes dependency on nps for
critical package lifecycle hooks
- Ensures consistent build behavior across all packages
2. **Pin Node 22 to stable LTS version (22.11.0)**
- Replaced global cache disabling workaround with version pinning
- All workflows now use Node 22.11.0 (LTS) instead of 22.21.0
- Re-enabled yarn caching for improved CI performance
- Applies to:
* integration-tests.yml (matrix configuration)
* lint-js-and-ruby.yml
* pro-integration-tests.yml (3 jobs)
* pro-lint.yml
* pro-test-package-and-gem.yml (2 jobs)
**Benefits:**
- Faster CI runs with restored yarn caching
- Consistent Node version across all jobs
- Avoids V8 bug in 22.21.0 without performance penalty
- More maintainable than conditional cache disabling
**Testing:**
All changes follow CLAUDE.md guidelines for CI configuration.
Node 22.11.0 is the current LTS version as of December 2024.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments