-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
chore: replace .nvmrc with .node-version for better compatibility #4657
chore: replace .nvmrc with .node-version for better compatibility #4657
Conversation
✅ Deploy Preview for ngrx-io canceled.Built without sensitive environment variables
|
@rainerhahnekamp can you please review this PR. |
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.
It makes sense; the only downside (according to ChatGPT) of .node-version
is that we cannot use values like lts.
Since we have fixed versions, it is OK for me to switch to .node-version
.
@markostanimirovic can you please review this PR. |
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.
Can you please also update the our CI pipelines (there are multiple references to this file within each pipeline).
platform/.github/workflows/ci.yml
Line 23 in 34d18af
node-version-file: .nvmrc platform/.github/workflows/main.yml
Line 25 in 34d18af
node-version-file: .nvmrc
… better compatibility
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
The .nvmrc file is specific to nvm (Node Version Manager) and does not support other modern Node.js version managers like fnm, Volta, or asdf. By switching to .node-version, we align the repository with a more universally supported standard, making it easier for contributors using different tools to manage Node.js versions.
Does this PR introduce a breaking change?