[bot] Run grit migration: JavaScript to TypeScript #1
This file contains 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: 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 |