From 1bf897a19c01fe6a00b3f585006ad4038668a6c3 Mon Sep 17 00:00:00 2001 From: Justin Gordon Date: Tue, 23 Sep 2025 13:56:40 -1000 Subject: [PATCH] Fix CI/local Node version differences causing Prettier inconsistencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/lint-js-and-ruby.yml | 2 +- .nvmrc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .nvmrc diff --git a/.github/workflows/lint-js-and-ruby.yml b/.github/workflows/lint-js-and-ruby.yml index f90d45c05b..16a25d5794 100644 --- a/.github/workflows/lint-js-and-ruby.yml +++ b/.github/workflows/lint-js-and-ruby.yml @@ -23,7 +23,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: yarn cache-dependency-path: '**/yarn.lock' - name: Print system information diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000..1d9b7831ba --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +22.12.0