chore: update Node.js and pnpm setup in OpenAPI sync workflow

- Upgraded the pnpm action to version 4 for improved performance.
- Specified Node.js version to 20.16.0 and enabled caching for pnpm to optimize dependency installation.
This commit is contained in:
Mauricio Siu
2025-11-30 00:44:25 -06:00
parent 7d9806a050
commit c0dec0ed20

View File

@@ -21,16 +21,11 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
- uses: pnpm/action-setup@v4
- name: Setup Node.js - uses: actions/setup-node@v4
uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: 20.16.0
cache: "pnpm"
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile