Skip to content

chore(deps)(deps): bump the tanstack group across 1 directory with 2 updates #20

chore(deps)(deps): bump the tanstack group across 1 directory with 2 updates

chore(deps)(deps): bump the tanstack group across 1 directory with 2 updates #20

name: bundle-diff
on:
pull_request:
branches: [main]
paths:
- "apps/ui/src/**"
- "apps/ui/package.json"
- "apps/ui/bun.lock"
- "apps/ui/vite.config.ts"
- "apps/ui/.size-limit.json"
- ".github/workflows/apps-ui-bundle-diff.yml"
concurrency:
group: apps-ui-bundle-diff-${{ github.ref }}
permissions:
contents: read
pull-requests: write
jobs:
size-diff:
defaults:
run:
working-directory: apps/ui
runs-on: ubuntu-latest
timeout-minutes: 8
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.13
- name: Install
run: bun install --frozen-lockfile
# size-limit-action runs install + build on both branches internally
# unless skip_step is set. We pre-install with bun and use npm as the
# runner because bun's node_modules layout is npm-compatible.
- name: Comment with bundle-size diff
uses: andresz1/size-limit-action@94bc357df29c36c8f8d50ea497c3e225c3c95d1d # v1.8.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
package_manager: npm
script: build
skip_step: install