Skip to content

ci: cache pnpm store with corepack#140

Merged
b3hr4d merged 1 commit intomainfrom
ci/add-corepack-pnpm-cache
Apr 14, 2026
Merged

ci: cache pnpm store with corepack#140
b3hr4d merged 1 commit intomainfrom
ci/add-corepack-pnpm-cache

Conversation

@b3hr4d
Copy link
Copy Markdown
Collaborator

@b3hr4d b3hr4d commented Apr 14, 2026

Summary

  • add explicit pnpm store caching back to GitHub Actions
  • keep the Corepack-based pnpm setup that fixed the earlier CI failures
  • avoid reintroducing actions/setup-node pnpm cache integration

Details

  • activate pnpm with Corepack first
  • resolve the pnpm store path dynamically via pnpm store path
  • cache the pnpm store with actions/cache@v5
  • key the cache by runner OS and pnpm-lock.yaml

Why

The previous setup-node pnpm cache integration conflicted with the new Corepack-based setup. This restores install performance without coupling cache restore to setup-node.

@b3hr4d b3hr4d merged commit e888d34 into main Apr 14, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant