-
Notifications
You must be signed in to change notification settings - Fork 617
ci: update node version #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,6 @@ | |
| # | ||
| # Triggers: | ||
| # - PR opened (uses pull_request_target for fork secret access) | ||
| # - Comment on PR containing '/open-code-review' or '@open-code-review' | ||
| # | ||
| # Required secrets: | ||
| # OCR_LLM_URL - LLM API endpoint (e.g., https://api.openai.com/v1/chat/completions) | ||
|
|
@@ -63,7 +62,7 @@ jobs: | |
| code-review: | ||
| runs-on: self-hosted | ||
| container: | ||
| image: node:20 | ||
| image: node:24 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Container image tag precision: Using a bare major version tag ( |
||
| if: github.event_name == 'pull_request_target' | ||
| steps: | ||
| - name: Checkout repository | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -149,7 +149,7 @@ jobs: | |
| needs: release | ||
| runs-on: self-hosted | ||
| container: | ||
| image: node:20 | ||
| image: node:24 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Potential stability concern: Node.js 24 is likely still in "Current" (non-LTS) status as of now. For a release/publish workflow, using a non-LTS Node version may introduce unexpected breaking changes or instability. Consider using Also note that this same change is applied consistently across |
||
| permissions: | ||
| contents: read | ||
| steps: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reliability concern:
node:24is a non-LTS (Current) release line. For production CI/CD workflows, it's recommended to use an LTS version (e.g.,node:22which should be the Active LTS around this time). Non-LTS releases have shorter support windows and may receive breaking changes more frequently.Additionally, consider pinning to a more specific version tag (e.g.,
node:24.x.y) rather than just the major version to ensure reproducible builds. Thenode:24tag will silently update on every minor/patch release, which could cause unexpected build failures.Suggestion: