chore: upgrade Node.js from 18 to 22 LTS in CI and add .nvmrc

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
John Kennedy
2026-02-24 17:57:48 -08:00
parent ce2d94d047
commit 38d419596c
2 changed files with 9 additions and 8 deletions
+8 -8
View File
@@ -26,10 +26,10 @@ jobs:
- uses: actions/checkout@v6
- name: Enable Corepack
run: corepack enable
- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 18.x
node-version: 22.x
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable --mode=skip-build
@@ -43,10 +43,10 @@ jobs:
- uses: actions/checkout@v6
- name: Enable Corepack
run: corepack enable
- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 18.x
node-version: 22.x
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable --mode=skip-build
@@ -84,10 +84,10 @@ jobs:
- name: Enable Corepack
run: corepack enable
working-directory: .
- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 18.x
node-version: 22.x
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
@@ -115,10 +115,10 @@ jobs:
- uses: actions/checkout@v6
- name: Enable Corepack
run: corepack enable
- name: Use Node.js 18.x
- name: Use Node.js 22.x
uses: actions/setup-node@v6
with:
node-version: 18.x
node-version: 22.x
cache: "yarn"
- name: Install dependencies
run: yarn install --immutable
+1
View File
@@ -0,0 +1 @@
22