Refactor GitHub Actions workflow to use latest pnpm version and improve setup process

This commit is contained in:
Luke Hagar
2025-08-13 11:25:19 -05:00
parent 99c41c25d6
commit eea9cbd82f

View File

@@ -40,20 +40,20 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 21.x]
node-version: [20.x, 21.x, 22.x, 23.x, 24.x]
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Install dependencies
run: pnpm install --frozen-lockfile