diff --git a/.github/workflows/compressed-size.yml b/.github/workflows/compressed-size.yml new file mode 100644 index 00000000..17eb5706 --- /dev/null +++ b/.github/workflows/compressed-size.yml @@ -0,0 +1,19 @@ +name: Compressed Size + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2.2.0 + with: + node-version: 16.x + - uses: preactjs/compressed-size-action@v2 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}' + pattern: '{dist/**/*.js,dist/**/*.css}' + compression: 'none'