Skip to content

Commit 00ee611

Browse files
committed
chore: update bundle-size workflow configuration
- Add build-script parameter - Update checkout action to v4 - Add additional workflow options for better reporting
1 parent cb452c5 commit 00ee611

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/bundle-size.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111
- uses: preactjs/compressed-size-action@v2
1212
with:
1313
repo-token: '${{ secrets.GITHUB_TOKEN }}'
1414
pattern: './lib/umd/**/*.js'
1515
install-script: 'npm ci'
16+
build-script: 'npm run build'
17+
show-total: true
18+
collapse-unchanged: true
19+
minimum-change-threshold: 1
20+
sort-by: 'Filename:asc'

0 commit comments

Comments
 (0)