diff --git a/.github/workflows/bundel.yml b/.github/workflows/bundel.yml new file mode 100644 index 0000000..303a718 --- /dev/null +++ b/.github/workflows/bundel.yml @@ -0,0 +1,19 @@ +name: "check my bundlephobia" +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + bundlecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: carlesnunez/check-my-bundlephobia@v1 + with: + repo-token: ${{ secrets.BUNDEL_TOKEN }} + strict: true + threshold: 500 + ignore-dev-dependencies: true