1
0
mirror of https://github.com/pnpm/action-setup.git synced 2026-06-20 16:13:44 +08:00

Update documentation about pnpm store prune

This commit is contained in:
Oscar Busk
2025-10-28 00:40:50 +01:00
parent 82352014bc
commit 6a5147c614

View File

@@ -156,9 +156,12 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: pnpm install run: pnpm install
- name: Prune pnpm store
run: pnpm store prune
``` ```
**Note:** You don't need to run `pnpm store prune` at the end; post-action has already taken care of that. **Note:** If you you opt to run install on your own (`run_install: false`), it's recommended to run [`pnpm store prune`](https://pnpm.io/cli/store#prune) after installation to make sure the store that will be cached is pruned.
## Notes ## Notes