Skip to content

Commit

Permalink
Merge pull request #64 from umaranis/size-limit-action
Browse files Browse the repository at this point in the history
perf: github action for size-limit on PR
  • Loading branch information
umaranis authored Dec 5, 2023
2 parents 02e6d0a + f13187a commit efd9322
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Size

on:
pull_request:
branches:
- master
permissions:
pull-requests: write
jobs:
size-plaintext:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: demos/playground
size-richtext:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: demos/richtext-editor
size-playground:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
directory: demos/playground

0 comments on commit efd9322

Please sign in to comment.