Skip to content

A local-first personal finance app

prune cache (#9203)

Matt Fiddamane27f2f6c45f0
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
index 072b9ac11c..60cf01aef9 100644
--- a/.github/actions/setup/action.yml
+++ b/.github/actions/setup/action.yml
@@ -65,6 +65,11 @@ runs:
run: yarn --immutable
shell: bash
if: steps.cache.outputs.cache-hit != 'true'
+ - name: Prune Lage cache
+ working-directory: ${{ inputs.working-directory }}
+ run: yarn lage cache --prune 7
+ shell: bash
+ if: ${{ inputs.cache == 'true' }}
- name: Download translations
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
diff --git a/upcoming-release-notes/prune-lage-cache-in-ci.md b/upcoming-release-notes/prune-lage-cache-in-ci.md
new file mode 100644
index 0000000000..b823e56d27
--- /dev/null
+++ b/upcoming-release-notes/prune-lage-cache-in-ci.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [matt-fidd]
+---
+
+Prune Lage cache entries in CI so the cache stops growing indefinitely