fix(react): renderToStyleElements() should handle shorthands ordering #192
Workflow file for this run
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 | |
| on: | |
| pull_request: | |
| env: | |
| NX_PARALLEL: 4 | |
| jobs: | |
| bundle-size: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository_owner == 'microsoft' }} | |
| permissions: | |
| contents: 'read' | |
| actions: 'read' | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Derive appropriate SHAs for base and head for `nx affected` commands | |
| uses: nrwl/nx-set-shas@dbe0650947e5f2c81f59190a38512cf49126fe6b # v4.3.0 | |
| - uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0 | |
| with: | |
| cache: yarn | |
| node-version: '20' | |
| - run: yarn install --immutable | |
| - name: Measure affected packages | |
| run: yarn nx affected --target=bundle-size --nxBail | |
| - name: Compare results with "main" branch | |
| run: | | |
| npx monosize compare-reports --branch main --output markdown --quiet > ./monosize.md | |
| - name: Save PR number | |
| run: echo ${{ github.event.number }} > pr.txt | |
| - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: monosize-report | |
| retention-days: 1 | |
| if-no-files-found: error | |
| path: | | |
| monosize.md | |
| pr.txt |