Skip to content

Commit a16c3e1

Browse files
authored
ci: Use compressed-size-action (#116)
1 parent d8d4b0f commit a16c3e1

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/size.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
name: Build
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 5
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version-file: 'package.json'
21+
cache: 'npm'
22+
cache-dependency-path: '**/package-lock.json'
23+
24+
- uses: preactjs/compressed-size-action@v2

0 commit comments

Comments
 (0)