[BUGFIX beta] Align EmberArray.reduce with native semantics, related with issue #21005. #321
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
| # https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/ | |
| # | |
| # Do a build | |
| # Measure assets sizes | |
| # Upload artifact | |
| # Consumed by size-comment.yml for comparison | |
| name: "Size: PR" | |
| # read-only repo token | |
| # no access to secrets | |
| on: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| with: | |
| node-version: 22 | |
| - run: pnpm build | |
| - name: Save PR number | |
| run: | | |
| mkdir -p ./pr | |
| echo "${{ github.event.number }}" > ./pr/NR | |
| - name: "Get estimated sizes for production outputs" | |
| id: dev | |
| run: node ./bin/minify-assets.mjs > ./pr/out.txt | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: pr-${{ github.run_id }} | |
| path: pr/ | |
| overwrite: true | |
| # This artifact should be read immediately by | |
| # size-comment.yml upon completion | |
| retention-days: 1 |