Skip to content

Commit 8b53341

Browse files
committed
ci: disable pnpm cache when publishing
1 parent 5fe9931 commit 8b53341

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
with:
2525
node-version: 22
2626
registry-url: https://registry.npmjs.org/
27+
# disable cache, to avoid cache poisoning (https://docs.zizmor.sh/audits/#cache-poisoning)
28+
package-manager-cache: false
2729

2830
- name: Install deps
2931
run: pnpm install

.github/workflows/release-continuous.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
- uses: actions/setup-node@v5
2727
with:
2828
node-version: lts/*
29+
# disable cache, to avoid cache poisoning (https://docs.zizmor.sh/audits/#cache-poisoning)
30+
package-manager-cache: false
2931

3032
- name: Install dependencies
3133
run: pnpm install

0 commit comments

Comments
 (0)