Skip to content

Commit 625ea15

Browse files
committed
Setup size limit on GH CI
1 parent 240d6ac commit 625ea15

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/size-limit.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Check bundle size
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
9+
10+
permissions:
11+
pull-requests: write
12+
13+
jobs:
14+
sizecheck:
15+
runs-on: ubuntu-latest
16+
env:
17+
CI_RUN: true
18+
CI_JOB_NUMBER: 1
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: andresz1/size-limit-action
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
package_manager: pnpm

0 commit comments

Comments
 (0)