Skip to content

Commit c0dec0e

Browse files
author
Mauricio Siu
committed
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.
1 parent 7d9806a commit c0dec0e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/sync-openapi-docs.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,11 @@ jobs:
2121
uses: actions/checkout@v4
2222
with:
2323
token: ${{ secrets.GITHUB_TOKEN }}
24-
25-
- name: Setup Node.js
26-
uses: actions/setup-node@v4
27-
with:
28-
node-version: '20'
29-
30-
- name: Setup pnpm
31-
uses: pnpm/action-setup@v2
24+
- uses: pnpm/action-setup@v4
25+
- uses: actions/setup-node@v4
3226
with:
33-
version: 8
27+
node-version: 20.16.0
28+
cache: "pnpm"
3429

3530
- name: Install dependencies
3631
run: pnpm install --frozen-lockfile

0 commit comments

Comments
 (0)