chore(Chore): update reviewer instructions to use team handle #5741
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 stats | |
| on: | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| concurrency: | |
| group: size-stats-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| branch-size-stats: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| total-js: ${{ steps.stats.outputs.total-js }} | |
| js-without-icons: ${{ steps.stats.outputs.js-without-icons }} | |
| lib-overhead: ${{ steps.stats.outputs.lib-overhead }} | |
| lib-overhead-gzip: ${{ steps.stats.outputs.lib-overhead-gzip }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - run: yarn install --immutable --immutable-cache | |
| - run: yarn compile | |
| - id: stats | |
| uses: './.github/actions/size-stats' | |
| master-size-stats: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| total-js: ${{ steps.stats.outputs.total-js }} | |
| js-without-icons: ${{ steps.stats.outputs.js-without-icons }} | |
| lib-overhead: ${{ steps.stats.outputs.lib-overhead }} | |
| lib-overhead-gzip: ${{ steps.stats.outputs.lib-overhead-gzip }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: master | |
| persist-credentials: false | |
| - run: yarn install --immutable --immutable-cache | |
| - run: yarn compile | |
| - id: stats | |
| uses: './.github/actions/size-stats' | |
| store-results: | |
| runs-on: ubuntu-latest | |
| needs: [master-size-stats, branch-size-stats] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - run: yarn install --immutable --immutable-cache | |
| - name: Form size stats message | |
| id: message | |
| uses: './.github/actions/size-stats-message' | |
| with: | |
| master-total-js: ${{ needs.master-size-stats.outputs.total-js }} | |
| master-js-without-icons: ${{ needs.master-size-stats.outputs.js-without-icons }} | |
| master-lib-overhead: ${{ needs.master-size-stats.outputs.lib-overhead }} | |
| master-lib-overhead-gzip: ${{ needs.master-size-stats.outputs.lib-overhead-gzip }} | |
| pr-total-js: ${{ needs.branch-size-stats.outputs.total-js }} | |
| pr-js-without-icons: ${{ needs.branch-size-stats.outputs.js-without-icons }} | |
| pr-lib-overhead: ${{ needs.branch-size-stats.outputs.lib-overhead }} | |
| pr-lib-overhead-gzip: ${{ needs.branch-size-stats.outputs.lib-overhead-gzip }} | |
| - name: Prepare artifact payload | |
| run: | | |
| mkdir -p size-stats-results | |
| cat > size-stats-results/message.md <<'EOF' | |
| ${{ steps.message.outputs.message }} | |
| EOF | |
| - name: Upload size stats results | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: size-stats-results | |
| path: size-stats-results | |
| if-no-files-found: error |