Skip to content

Commit ce7eb42

Browse files
committed
Enable pnpm caching in release workflow
- do we cache node modules? ├── .github │ └── workflows │ └── github-release.yml ├── package.json └── pnpm-workspace.yaml
1 parent 0138d6c commit ce7eb42

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎.github/workflows/github-release.yml‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,19 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121

22-
- name: Setup Node.js
23-
uses: actions/setup-node@v4
24-
with:
25-
node-version: '22'
26-
registry-url: 'https://registry.npmjs.org'
27-
2822
- name: Setup PNPM
2923
uses: pnpm/action-setup@v2
3024
with:
3125
version: 12.17.0
3226
run_install: false
3327

28+
- name: Setup Node.js
29+
uses: actions/setup-node@v4
30+
with:
31+
node-version: '22'
32+
registry-url: 'https://registry.npmjs.org'
33+
cache: 'pnpm'
34+
3435
- name: Install dependencies
3536
run: pnpm i
3637

0 commit comments

Comments
 (0)