Add example of lazy loading slices with combineSlices, and middleware with createDynamicMiddleware #2514
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: size | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| size: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI_JOB_NUMBER: 1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: EskiMojo14/size-limit-action@v2 | |
| with: | |
| directory: packages/toolkit | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| build_script: build-only | |
| package_manager: yarn | |
| size_margin: non-zero |