From 704853911b24cadc4857ed091558040fe89e0172 Mon Sep 17 00:00:00 2001 From: Vladimir Zhelvis Date: Wed, 19 Jun 2024 19:25:33 +0300 Subject: [PATCH] delete downloaded rules after pack --- bamboo-specs/adguard-api-mv3-build.yaml | 2 ++ bamboo-specs/dnr-rulesets-build.yaml | 2 ++ bamboo-specs/examples-adguard-api-mv3-tests.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/bamboo-specs/adguard-api-mv3-build.yaml b/bamboo-specs/adguard-api-mv3-build.yaml index 911462bfd8..305d8dfa2f 100644 --- a/bamboo-specs/adguard-api-mv3-build.yaml +++ b/bamboo-specs/adguard-api-mv3-build.yaml @@ -90,6 +90,8 @@ Build: echo "Size before cleanup:" && du -h | tail -n 1 + pnpm --filter @adguard/dnr-rulesets clear + pnpm clean echo "Size after cleanup:" && du -h | tail -n 1 diff --git a/bamboo-specs/dnr-rulesets-build.yaml b/bamboo-specs/dnr-rulesets-build.yaml index d41cc8ab84..576e53aeee 100644 --- a/bamboo-specs/dnr-rulesets-build.yaml +++ b/bamboo-specs/dnr-rulesets-build.yaml @@ -72,6 +72,8 @@ Build: echo "Size before cleanup:" && du -h | tail -n 1 + pnpm --filter @adguard/dnr-rulesets clear + pnpm clean echo "Size after cleanup:" && du -h | tail -n 1 diff --git a/bamboo-specs/examples-adguard-api-mv3-tests.yaml b/bamboo-specs/examples-adguard-api-mv3-tests.yaml index 31a3acc272..674c652801 100644 --- a/bamboo-specs/examples-adguard-api-mv3-tests.yaml +++ b/bamboo-specs/examples-adguard-api-mv3-tests.yaml @@ -98,6 +98,8 @@ Test: echo "Size before cleanup:" && du -h | tail -n 1 + pnpm --filter @adguard/dnr-rulesets clear + # Check if node_modules directory exists if [ -d "node_modules" ]; then pnpm clean