Skip to content

Commit

Permalink
chore(ci): log gzip size as Action notice
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Aug 2, 2024
1 parent 1f310ce commit 4aed30d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ jobs:

- name: gzip (bytes)
run: |
bun build --minify mod.ts | bunx terser --mangle --compress --module --ecma=2020 | gzip -9 | wc -c
bytes=$(bun build --minify mod.ts | bunx terser --mangle --compress --module --ecma=2020 | gzip -9 | wc -c)
echo "::notice::${bytes} b (gzip)"

0 comments on commit 4aed30d

Please sign in to comment.