Skip to content

Commit

Permalink
Add size-limit-action CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Oct 2, 2024
1 parent 09cd0aa commit 298388f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: size

on:
pull_request:
branches:
- master

permissions:
pull-requests: write

jobs:
size:
name: Check compressed size
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v4
- uses: EskiMojo14/size-limit-action@v2
with:
directory: .
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: build
package_manager: yarn
size_margin: non-zero

0 comments on commit 298388f

Please sign in to comment.