Skip to content

Commit 56265e1

Browse files
committed
fix: disable package manager cache in CI and release workflows
1 parent 5af205a commit 56265e1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: actions/setup-node@v5
1717
with:
1818
node-version: 22
19+
package-manager-cache: false
1920
- name: Install
2021
run: pnpm install --no-frozen-lockfile
2122
- name: Build

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
with:
5858
node-version: 22
5959
registry-url: 'https://registry.npmjs.org'
60+
package-manager-cache: false
6061
- name: Set version in platform package
6162
working-directory: packages/nanoframe-core-linux-x64
6263
run: pnpm pkg set "version=${{ needs.prepare.outputs.version }}"
@@ -100,6 +101,7 @@ jobs:
100101
with:
101102
node-version: 22
102103
registry-url: 'https://registry.npmjs.org'
104+
package-manager-cache: false
103105
- name: Set version in platform package
104106
working-directory: packages/nanoframe-core-win32-x64
105107
run: pnpm pkg set "version=${{ needs.prepare.outputs.version }}"
@@ -146,6 +148,7 @@ jobs:
146148
with:
147149
node-version: 22
148150
registry-url: 'https://registry.npmjs.org'
151+
package-manager-cache: false
149152
- name: Set version in platform package
150153
working-directory: packages/nanoframe-core-win32-arm64
151154
run: pnpm pkg set "version=${{ needs.prepare.outputs.version }}"
@@ -192,6 +195,7 @@ jobs:
192195
with:
193196
node-version: 22
194197
registry-url: 'https://registry.npmjs.org'
198+
package-manager-cache: false
195199
- name: Set version in platform package
196200
working-directory: packages/nanoframe-core-darwin-x64
197201
run: pnpm pkg set "version=${{ needs.prepare.outputs.version }}"
@@ -235,6 +239,7 @@ jobs:
235239
with:
236240
node-version: 22
237241
registry-url: 'https://registry.npmjs.org'
242+
package-manager-cache: false
238243
- name: Set version in platform package
239244
working-directory: packages/nanoframe-core-darwin-arm64
240245
run: pnpm pkg set "version=${{ needs.prepare.outputs.version }}"
@@ -269,6 +274,7 @@ jobs:
269274
with:
270275
node-version: 22
271276
registry-url: 'https://registry.npmjs.org'
277+
package-manager-cache: false
272278
- name: Update version and optionalDependencies
273279
working-directory: packages/nanoframe
274280
run: |

0 commit comments

Comments
 (0)