Update GitHub Actions workflows to use Node.js 22 and pnpm 10

- Replaced the Node.js setup step to use version 22 for improved compatibility.
- Updated pnpm version in both CI and test workflows to 10 for consistency and performance.
- Removed redundant pnpm installation step in the CI workflow.
This commit is contained in:
Luke Hagar
2025-07-23 16:12:19 -05:00
parent 59bcd5b3a7
commit baee9dced8
2 changed files with 10 additions and 7 deletions

View File

@@ -21,13 +21,16 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3
- name: setup node.js 20
uses: actions/setup-node@v3
- name: Install pnpm
uses: pnpm/action-setup@v4.1.0
with:
node-version: 20
- name: install pnpm
run: npm i pnpm@latest -g
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: install dependencies
run: pnpm install

View File

@@ -41,7 +41,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4.1.0
with:
version: 8
version: 10
- name: Setup Node.js
uses: actions/setup-node@v4