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