mirror of
https://github.com/vector-im/element-web.git
synced 2026-03-02 20:12:04 +01:00
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:
parent
e8d97a9b5a
commit
d597fc61d6
1
.github/workflows/static_analysis.yaml
vendored
1
.github/workflows/static_analysis.yaml
vendored
@ -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/*"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user