github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/.github/workflows/size-limit.yml (about)

     1  name: Size Limit Checks
     2  
     3  on:
     4    pull_request:
     5      branches: [main]
     6  
     7  jobs:
     8    size-check:
     9      runs-on: ubuntu-latest
    10      steps:
    11        - name: Checkout
    12          uses: actions/checkout@v2
    13        - uses: actions/setup-node@v2
    14          with:
    15            node-version: '16.18'
    16        - name: Install Webapp dependencies
    17          run: yarn install --frozen-lockfile
    18        - uses: andresz1/size-limit-action@v1
    19          with:
    20            github_token: ${{ secrets.GITHUB_TOKEN }}
    21            build_script: build:size-limit