Skip to content

ci: read Node version from .nvmrc in ts-bindings-fresh - #1230

Merged
robcohen merged 1 commit into
mainfrom
ci/node-version-from-nvmrc
May 28, 2026
Merged

robcohen merged 1 commit into
mainfrom
ci/node-version-from-nvmrc

Conversation

@robcohen

Copy link
Copy Markdown
Member

Summary

Follow-up to #1228 addressing Copilot's review note.

wasm.yml:88 already uses node-version-file: '.nvmrc', and .nvmrc pins 24. Hardcoding node-version: '24' in the ts-bindings-fresh job introduced a second source of truth that could drift from .nvmrc. Switch to node-version-file: '.nvmrc' so the version lives in one place.

Why

#1228 merged before the review feedback could be folded in. No behavioral change -- Node 24 is still what runs -- but removes a drift risk.

Test plan

  • .nvmrc contains 24 (verified)
  • wasm.yml:88 already follows this convention
  • CI: ts-bindings-fresh runs with the same Node version

🤖 Generated with Claude Code

Follow-up to #1228 -- Copilot's review caught that `wasm.yml:88`
already uses `node-version-file: '.nvmrc'`, and `.nvmrc` pins `24`.
Hardcoding `node-version: '24'` in the `ts-bindings-fresh` job was a
second source of truth that could drift from `.nvmrc`. Switch to
`node-version-file: '.nvmrc'` so the version lives in one place.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@robcohen
robcohen requested a review from a team as a code owner May 28, 2026 19:03
Copilot AI review requested due to automatic review settings May 28, 2026 19:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@robcohen
robcohen merged commit b955e5b into main May 28, 2026
25 of 27 checks passed
@robcohen
robcohen deleted the ci/node-version-from-nvmrc branch May 28, 2026 19:07
@github-actions

Copy link
Copy Markdown
Contributor

✅ Compatibility Test Results

Metric Result
Check Compatibility 100%
BQL Compatibility 100%
Full AST Match 100%
Total Files 791
What's tested
  • Check: Exit codes and error counts match bean-check
  • BQL: Query results match bean-query
  • Files: ~800 test files downloaded from 10+ beancount repositories

Full results available in workflow artifacts

@codecov

codecov Bot commented May 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants