Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/package-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ jobs:
- uses: ./.github/actions/setup
- uses: wyvox/pkg-size@99124c98adc9d470c19b9b88f103163067a9d480
with:
build-command: "pnpm build"
build-command: "./bin/build-size-comparison-dists.sh"
display-size: uncompressed, brotli
unchanged-files: hide
paths: |
dist/dev
dist/prod
smoke-tests/v2-app-hello-world-template/dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions bin/build-size-comparison-dists.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# This exists as a shell script so that the pkg-size action can
# more ergonomically invoke multiple commands, change directories, etc

pnpm build

( cd smoke-tests/v2-app-hello-world-template && pnpm vite build )
Loading
Loading