We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 45b4f8e + 3b90bc9 commit 61f3a7aCopy full SHA for 61f3a7a
.github/workflows/bundle-size.yml
@@ -0,0 +1,30 @@
1
+name: Bundle-size
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ size:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
15
+ - uses: actions/setup-node@v2
16
+ with:
17
+ node-version: 14
18
+ cache: yarn
19
20
+ - uses: ./.github/actions/install-modules
21
22
+ - name: Link locale packages and install their dependencies
23
+ run: yarn bootstrap
24
25
+ - name: Build packages
26
+ run: yarn build
27
28
+ - uses: preactjs/compressed-size-action@v2
29
30
+ pattern: '**/dist/**/*.{cjs,js,svg}'
0 commit comments