mirror of
https://github.com/pnpm/action-setup.git
synced 2026-08-14 05:52:09 +08:00
docs: tighten the verification cache comments
The module header explained the whole feature where naming the file's purpose is enough, and the ordering comment described `pnpm store prune` deleting the log without saying which versions do — pnpm/pnpm#13893 stops deleting it.
This commit is contained in:
+1
-2
@@ -33,8 +33,7 @@ async function runMain() {
|
||||
|
||||
async function runPost() {
|
||||
const inputs = JSON.parse(getState('inputs')) as Inputs
|
||||
// Saved ahead of the prune because `pnpm store prune` drops the
|
||||
// verification log along with the rest of the store's derived state.
|
||||
// pnpm versions before pnpm/pnpm#13893 delete the log during a store prune.
|
||||
await saveVerificationCache()
|
||||
pruneStore(inputs)
|
||||
await saveCache(inputs)
|
||||
|
||||
Reference in New Issue
Block a user