Skip to content

Commit

Permalink
chore: add check for package size regression
Browse files Browse the repository at this point in the history
  • Loading branch information
williazz committed Dec 21, 2023
1 parent 24e4467 commit 4180544
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/package-size-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Package Size Report

on:
pull_request:
types: [opened, ready_for_review]
branches: [main, release/*]

permissions:
pull-requests: write

jobs:
pkg-size-report:
name: Package Size Report
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Package size report
uses: pkg-size/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4180544

Please sign in to comment.