summaryrefslogtreecommitdiff
path: root/preact/.github/workflows/size.yml
diff options
context:
space:
mode:
Diffstat (limited to 'preact/.github/workflows/size.yml')
-rw-r--r--preact/.github/workflows/size.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/preact/.github/workflows/size.yml b/preact/.github/workflows/size.yml
new file mode 100644
index 0000000..f886534
--- /dev/null
+++ b/preact/.github/workflows/size.yml
@@ -0,0 +1,17 @@
+name: Compressed Size
+
+on:
+ pull_request:
+ branches:
+ - '**'
+ paths:
+ - '**/src/**.js'
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: preactjs/compressed-size-action@v1
+ with:
+ repo-token: '${{ secrets.GITHUB_TOKEN }}'