Skip to content

Bundle Size Report

Bundle Size Report #11

name: Bundle Size Report
on:
workflow_dispatch:
pull_request:
branches: [main, release/*.*.*]
permissions:
pull-requests: write
packages: read
env:
SIZE: -1
jobs:
bundle-size-report:
name: Bundle Size Report
runs-on: ubuntu-latest
steps:
- name: Checkout branch?
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Get size
run: |
echo "SIZE=5" >> $GITHUB_ENV