From a14c4f037640e924d29c736b902903e0f2216ce3 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Fri, 30 Aug 2024 19:40:07 -0400 Subject: [PATCH] ci: filter ansi codes from bundle size outputs (#1800) --- .github/workflows/bundle-size.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bundle-size.yml b/.github/workflows/bundle-size.yml index 7e2a8534d..e18a476c6 100644 --- a/.github/workflows/bundle-size.yml +++ b/.github/workflows/bundle-size.yml @@ -45,7 +45,7 @@ jobs: - run: corepack enable - run: yarn install --immutable - run: | - yarn workspace ott-client run build | sed -r 's/([a-zA-Z]+-)[^ .]+(\.[^ ]+)/\1hash\2/' | tee /tmp/bundle-size.txt + yarn workspace ott-client run build | sed -r 's/([a-zA-Z]+-)[^ .]+(\.[^ ]+)/\1hash\2/' | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g' | tee /tmp/bundle-size.txt - name: Upload bundle size uses: actions/upload-artifact@v4