feat!: move to timestamps in response models #4028
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: Size | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| # The v15 release branch. Without it this workflow does not run on any PR stacked onto it, so the | |
| # i18n consolidation's central size claim -- that moving the runtime into `stream-chat/i18n` | |
| # shrinks the root bundle -- goes unmeasured for the whole release. | |
| - release-v15 | |
| paths-ignore: | |
| - '**.test.*' | |
| - '**.md' | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=4096 | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| compressed-size: | |
| name: Compressed Size | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - uses: preactjs/compressed-size-action@v2 | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=4096 | |
| with: | |
| repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
| pattern: './dist/**/*.{?(c|m)js,css,json}' | |
| strip-hash: "\\b\\w{8}\\." |