From b7e630c1d8857cd9756952b0147fd6294055e519 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Fri, 24 Apr 2026 11:05:56 +0200 Subject: [PATCH] chore: harden runner hygiene with aggressive cleanup --- .gitea/workflows/quality-assurance-template.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/quality-assurance-template.yml b/.gitea/workflows/quality-assurance-template.yml index 82bcf95..838a9e8 100644 --- a/.gitea/workflows/quality-assurance-template.yml +++ b/.gitea/workflows/quality-assurance-template.yml @@ -46,8 +46,14 @@ jobs: run: | echo "@mintel:registry=https://git.infra.mintel.me/api/packages/mmintel/npm" > .npmrc echo "//git.infra.mintel.me/api/packages/mmintel/npm/:_authToken=${{ secrets.NPM_TOKEN || secrets.MINTEL_PRIVATE_TOKEN || secrets.GITEA_PAT }}" >> .npmrc + - name: 🧹 Clean Runner Infrastructure + run: | + docker builder prune -f --filter "until=24h" + docker image prune -f --filter "until=24h" + docker system prune -f --volumes --filter "until=24h" || true - name: Install dependencies run: | + rm -rf .next .turbo node_modules || true pnpm store prune pnpm install --no-frozen-lockfile - name: 📦 Archive dependencies