Skip to content

Commit 7ef65c1

Browse files
authored
Fix CI/local Node version differences causing Prettier inconsistencies (#1809)
- Update CI workflow to use Node 22 instead of Node 20 to match local development environment - Add .nvmrc file to pin Node version for consistent development across team This resolves the issue where CI Prettier checks fail while local checks pass, caused by different Node versions processing files differently.
1 parent bfa1c58 commit 7ef65c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/lint-js-and-ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Node
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 20
26+
node-version: 22
2727
cache: yarn
2828
cache-dependency-path: '**/yarn.lock'
2929
- name: Print system information

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.12.0

0 commit comments

Comments
 (0)