From 1f957c63253059e957231759fb6a7697b0a1f1b3 Mon Sep 17 00:00:00 2001
From: Nick Schonning <nschonni@gmail.com>
Date: Wed, 15 Feb 2023 20:24:05 -0500
Subject: [PATCH] Use .nvmrc file for CI setup-node (#23562)

---
 .github/workflows/lint-css.yml  | 1 +
 .github/workflows/lint-js.yml   | 1 +
 .github/workflows/lint-json.yml | 1 +
 .github/workflows/lint-yml.yml  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/.github/workflows/lint-css.yml b/.github/workflows/lint-css.yml
index 431b88e8d..e2571296a 100644
--- a/.github/workflows/lint-css.yml
+++ b/.github/workflows/lint-css.yml
@@ -36,6 +36,7 @@ jobs:
         uses: actions/setup-node@v3
         with:
           cache: yarn
+          node-version-file: '.nvmrc'
 
       - name: Install all yarn packages
         run: yarn --frozen-lockfile
diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml
index 49d989771..c349f269d 100644
--- a/.github/workflows/lint-js.yml
+++ b/.github/workflows/lint-js.yml
@@ -32,6 +32,7 @@ jobs:
         uses: actions/setup-node@v3
         with:
           cache: yarn
+          node-version-file: '.nvmrc'
 
       - name: Install all yarn packages
         run: yarn --frozen-lockfile
diff --git a/.github/workflows/lint-json.yml b/.github/workflows/lint-json.yml
index 524ed083a..b89d0a0f7 100644
--- a/.github/workflows/lint-json.yml
+++ b/.github/workflows/lint-json.yml
@@ -32,6 +32,7 @@ jobs:
         uses: actions/setup-node@v3
         with:
           cache: yarn
+          node-version-file: '.nvmrc'
 
       - name: Install all yarn packages
         run: yarn --frozen-lockfile
diff --git a/.github/workflows/lint-yml.yml b/.github/workflows/lint-yml.yml
index 48f8170b3..6865d73dd 100644
--- a/.github/workflows/lint-yml.yml
+++ b/.github/workflows/lint-yml.yml
@@ -34,6 +34,7 @@ jobs:
         uses: actions/setup-node@v3
         with:
           cache: yarn
+          node-version-file: '.nvmrc'
 
       - name: Install all yarn packages
         run: yarn --frozen-lockfile