Skip to content

Commit

Permalink
ci: filter ansi codes from bundle size outputs (#1800)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 authored Aug 30, 2024
1 parent af985b2 commit a14c4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a14c4f0

Please sign in to comment.