From c3f5e664680586e492ad5b76506de84cef48b1cf Mon Sep 17 00:00:00 2001 From: Ryan Christian Date: Fri, 17 Oct 2025 00:28:04 -0500 Subject: [PATCH] ci: Use compressed-size-action --- .github/workflows/size.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/size.yml diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml new file mode 100644 index 0000000..61b2f1a --- /dev/null +++ b/.github/workflows/size.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + name: Build + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + cache: 'npm' + cache-dependency-path: '**/package-lock.json' + + - uses: preactjs/compressed-size-action@v2