From 7ce78a58d1dae112e1d04672b94555da4cf3a9ea Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Tue, 30 Jul 2024 11:18:32 +0200 Subject: [PATCH] minify api postman collection --- .github/workflows/sdk-postman.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sdk-postman.yml b/.github/workflows/sdk-postman.yml index e52b2312c..8e23fb4d4 100644 --- a/.github/workflows/sdk-postman.yml +++ b/.github/workflows/sdk-postman.yml @@ -97,6 +97,12 @@ jobs: RAML_FILE: "../commercetools-api-reference/api-specs/api/postman.raml" LIB_NAME: "api" + - name: Minify Api postman collection + working-directory: postman + run: |- + jq -r tostring api/collection.json > api/minified.json + mv api/minified.json api/collection.json + - name: "Generate importapi postman collection" run: sudo chmod 777 /usr/local/bin && make build working-directory: postman