From a5196d0e432129b9973ca03347100245ab19b4d5 Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Wed, 7 Aug 2024 00:12:53 -0300 Subject: [PATCH] ci: remove tmp files (#32996) --- .github/workflows/ci-test-e2e.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci-test-e2e.yml b/.github/workflows/ci-test-e2e.yml index b31f56c7a7de..443b4622caa7 100644 --- a/.github/workflows/ci-test-e2e.yml +++ b/.github/workflows/ci-test-e2e.yml @@ -187,6 +187,12 @@ jobs: run: | docker compose -f docker-compose-ci.yml up -d + - name: Clean up temporary files + # remove all folders inside /tmp except /tmp/coverage + run: | + cd /tmp + sudo find . -mindepth 1 -maxdepth 1 -type d | grep -v './coverage' | sudo xargs rm -rf + - name: Cache Playwright binaries if: inputs.type == 'ui' uses: actions/cache@v3 @@ -221,6 +227,8 @@ jobs: sleep 10 done; + - name: Remove unused Docker images + run: docker system prune -af - name: E2E Test API if: inputs.type == 'api' working-directory: ./apps/meteor