Don't cache if not installing deps (#32577)
* Force create pnpm cache directory As commented otherwise the job fails if no deps are installed * Don't cache if install isn't set Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> * Remove cache force creation * Revert to original fix * back to simple version, with fixed indent --------- Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -49,6 +49,7 @@ jobs:
|
||||
|
||||
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4
|
||||
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
|
||||
if: matrix.install != ''
|
||||
with:
|
||||
cache: "pnpm"
|
||||
node-version: "lts/*"
|
||||
|
||||
Reference in New Issue
Block a user