Skip to content

Commit df4dfff

Browse files
authored
chore: setup compressed-size (#14)
* chore: setup compressed size * chore: update action * chore: update action * chore: update action * chore: update action * chore: update action * chore: update action
1 parent c679668 commit df4dfff

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/compressed-size.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Package Size
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Install pnpm
16+
uses: pnpm/action-setup@v2
17+
18+
- uses: preactjs/compressed-size-action@v2
19+
with:
20+
repo-token: '${{ secrets.GITHUB_TOKEN }}'
21+
build-script: build:core

0 commit comments

Comments
 (0)