Skip to content

Commit ca95c57

Browse files
committed
ci(publish): drop the pnpm cache from the publish workflow
Most runs only check the registry and skip the install; when pnpm-lock.yaml changes, setup-node's post step tried to save a cache for a pnpm store that was never created and failed the job.
1 parent bc2e3fd commit ca95c57

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/npm-publish.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
uses: actions/setup-node@v4
3333
with:
3434
node-version: "24"
35-
cache: pnpm
35+
# No dependency cache: most runs only check the registry and skip the
36+
# install, and saving a cache for a store that was never created fails
37+
# the job whenever pnpm-lock.yaml changes.
3638
registry-url: "https://registry.npmjs.org"
3739

3840
- name: Decide whether this version needs publishing

0 commit comments

Comments
 (0)