Skip to content

Commit f28f7f8

Browse files
authored
Add size check (#33)
1 parent 250a068 commit f28f7f8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/size.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Compressed Size
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
paths:
8+
- 'src/*.tsx?'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: preactjs/compressed-size-action@v1
16+
with:
17+
repo-token: '${{ secrets.GITHUB_TOKEN }}'

0 commit comments

Comments
 (0)