Skip to content

Commit 5026d93

Browse files
committed
fix: add pnpm cache to Node setup in release workflow
1 parent c3fa415 commit 5026d93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
uses: actions/setup-node@v5
5757
with:
5858
node-version: 22
59+
cache: 'pnpm'
5960
registry-url: 'https://registry.npmjs.org'
6061
- name: Set version in platform package
6162
working-directory: packages/nanoframe-core-linux-x64
@@ -99,6 +100,7 @@ jobs:
99100
uses: actions/setup-node@v5
100101
with:
101102
node-version: 22
103+
cache: 'pnpm'
102104
registry-url: 'https://registry.npmjs.org'
103105
- name: Set version in platform package
104106
working-directory: packages/nanoframe-core-win32-x64
@@ -145,6 +147,7 @@ jobs:
145147
uses: actions/setup-node@v5
146148
with:
147149
node-version: 22
150+
cache: 'pnpm'
148151
registry-url: 'https://registry.npmjs.org'
149152
- name: Set version in platform package
150153
working-directory: packages/nanoframe-core-win32-arm64
@@ -191,6 +194,7 @@ jobs:
191194
uses: actions/setup-node@v5
192195
with:
193196
node-version: 22
197+
cache: 'pnpm'
194198
registry-url: 'https://registry.npmjs.org'
195199
- name: Set version in platform package
196200
working-directory: packages/nanoframe-core-darwin-x64
@@ -234,6 +238,7 @@ jobs:
234238
uses: actions/setup-node@v5
235239
with:
236240
node-version: 22
241+
cache: 'pnpm'
237242
registry-url: 'https://registry.npmjs.org'
238243
- name: Set version in platform package
239244
working-directory: packages/nanoframe-core-darwin-arm64
@@ -268,6 +273,7 @@ jobs:
268273
uses: actions/setup-node@v5
269274
with:
270275
node-version: 22
276+
cache: 'pnpm'
271277
registry-url: 'https://registry.npmjs.org'
272278
- name: Update version and optionalDependencies
273279
working-directory: packages/nanoframe

0 commit comments

Comments
 (0)