Skip to content

[bot] Run grit migration: JavaScript to TypeScript #1

[bot] Run grit migration: JavaScript to TypeScript

[bot] Run grit migration: JavaScript to TypeScript #1

name: Package size report
on:
pull_request:
branches: [main, next]
permissions:
pull-requests: write
jobs:
pkg-size-report:
name: Package size report
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Package size report
uses: pkg-size/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
hide-files: '*.{js,css}.map'
display-size: uncompressed, gzip