diff --git a/.github/workflows/compressed-size.yml b/.github/workflows/compressed-size.yml new file mode 100644 index 0000000..53eb1b4 --- /dev/null +++ b/.github/workflows/compressed-size.yml @@ -0,0 +1,15 @@ +name: Compressed Size + +on: [pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: preactjs/compressed-size-action@v2 + with: + pattern: dist/index.js + repo-token: ${{ secrets.GITHUB_TOKEN }}