Skip to content

Commit 72c862d

Browse files
committed
meta: skip the dependency cache when publishing
Bump nodejs/web-team/actions/setup-environment to the commit that adds its `cache` input (nodejs/web-team#192), and turn the cache off in the publish job. That job holds `id-token: write`, so it shouldn't restore a pnpm store that another workflow could have written. Assisted-by: Claude Opus 5.5 <[email protected]>
1 parent b109674 commit 72c862d

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Setup environment
22-
uses: nodejs/web-team/actions/setup-environment@9340c90fe703e7448529fdd6ea07e1fb48c042c7
22+
uses: nodejs/web-team/actions/setup-environment@4c0b18db11a8357664683d70ef1f27af08ecc766
2323
with:
2424
use-version-file: true
2525
pnpm: true
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Setup environment
39-
uses: nodejs/web-team/actions/setup-environment@9340c90fe703e7448529fdd6ea07e1fb48c042c7
39+
uses: nodejs/web-team/actions/setup-environment@4c0b18db11a8357664683d70ef1f27af08ecc766
4040
with:
4141
use-version-file: true
4242
pnpm: true
@@ -63,7 +63,7 @@ jobs:
6363

6464
steps:
6565
- name: Setup environment
66-
uses: nodejs/web-team/actions/setup-environment@9340c90fe703e7448529fdd6ea07e1fb48c042c7
66+
uses: nodejs/web-team/actions/setup-environment@4c0b18db11a8357664683d70ef1f27af08ecc766
6767
with:
6868
use-version-file: true
6969
pnpm: true

‎.github/workflows/generate.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
compare: file-size
116116
steps:
117117
- name: Setup environment
118-
uses: nodejs/web-team/actions/setup-environment@9340c90fe703e7448529fdd6ea07e1fb48c042c7
118+
uses: nodejs/web-team/actions/setup-environment@4c0b18db11a8357664683d70ef1f27af08ecc766
119119
with:
120120
use-version-file: true
121121
pnpm: true

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ jobs:
3535
id-token: write
3636
steps:
3737
- name: Setup environment
38-
uses: nodejs/web-team/actions/setup-environment@9340c90fe703e7448529fdd6ea07e1fb48c042c7
38+
uses: nodejs/web-team/actions/setup-environment@4c0b18db11a8357664683d70ef1f27af08ecc766
3939
with:
4040
use-version-file: true
4141
pnpm: true
4242
registry-url: 'https://registry.npmjs.org'
4343
fetch-depth: 0
44+
cache: false
4445

4546
- name: Create Release Pull Request or Publish
4647
id: changesets

0 commit comments

Comments
 (0)