Skip to content

Commit

Permalink
Add size limit action (#101)
Browse files Browse the repository at this point in the history
* Add size limit action

* Update to test sizeLimit
  • Loading branch information
Willy Brauner authored Oct 7, 2023
1 parent 8674389 commit 96abc64
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Size limit

on:
pull_request:
branches:
- main
jobs:
size:
runs-on: ubuntu-latest
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Size limit
uses: andresz1/size-limit-action@dd31dce7dcc72a041fd3e49abf0502b13fc4ce05 # support for pnpm
with:
github_token: ${{ secrets.REPO_TOKEN }}
package_manager: pnpm

0 comments on commit 96abc64

Please sign in to comment.