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