chore(deps): bump the patch-and-minor group across 1 directory with 4 updates #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Bundle size check | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| workflow_dispatch: | |
| jobs: | |
| bundle_size_check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build project | |
| run: npm install && npm run build | |
| - name: Report bundle size | |
| uses: preactjs/[email protected] | |
| with: | |
| # 1. The mandatory 'repo-token' is now provided | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| # 2. 'path' is replaced by 'pattern' for glob matching | |
| pattern: '**/*.{js,css}' | |
| # Show the total size of all tracked files (useful) | |
| show-total: true |