From 632953082566defdef02684855482f4ab71e3d87 Mon Sep 17 00:00:00 2001 From: ambar Date: Thu, 4 Apr 2024 10:12:59 +0800 Subject: [PATCH] build: add compressed-size-action --- .github/workflows/bundle-watch.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/bundle-watch.yml diff --git a/.github/workflows/bundle-watch.yml b/.github/workflows/bundle-watch.yml new file mode 100644 index 0000000..ec0b7a8 --- /dev/null +++ b/.github/workflows/bundle-watch.yml @@ -0,0 +1,14 @@ +name: Compressed Size + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + - uses: preactjs/compressed-size-action@v2 + with: + pattern: '**/{dist,out}/**/*.*'