From 7c3ce9f0f0510469e881e2e810ff5487210d8369 Mon Sep 17 00:00:00 2001 From: Garvit Khatri Date: Sat, 24 Feb 2024 20:08:33 -0700 Subject: [PATCH] stop coverage and increase size limit --- .github/workflows/on-pull-request.yml | 54 +++++++++++++-------------- .size-limit.json | 4 +- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 4ab478d9..748fdcce 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -13,38 +13,38 @@ jobs: uses: ./.github/workflows/verify.yml secrets: inherit - bench: - name: Coverage - runs-on: ubuntu-latest + # bench: + # name: Coverage + # runs-on: ubuntu-latest - steps: - - name: Clone repository - uses: actions/checkout@v3 + # steps: + # - name: Clone repository + # uses: actions/checkout@v3 - - name: Install dependencies - uses: ./.github/actions/install-dependencies + # - name: Install dependencies + # uses: ./.github/actions/install-dependencies - - name: Build - run: bun run build + # - name: Build + # run: bun run build - - name: Run tests & coverage - run: bun run test:ci - env: - ENTRYPOINT_ADDRESS: ${{ vars.ENTRYPOINT_ADDRESS }} - FACTORY_ADDRESS: ${{ vars.FACTORY_ADDRESS }} - TEST_CHAIN_ID: ${{ vars.TEST_CHAIN_ID }} - TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }} - RPC_URL: ${{ secrets.RPC_URL }} - BUNDLER_RPC_HOST: ${{ secrets.BUNDLER_RPC_HOST }} - PIMLICO_BUNDLER_RPC_HOST: ${{ secrets.PIMLICO_BUNDLER_RPC_HOST }} - PIMLICO_PAYMASTER_RPC_HOST: ${{ secrets.PIMLICO_PAYMASTER_RPC_HOST }} - ACTIVE_SPONSORSHIP_POLICY: ${{ secrets.ACTIVE_SPONSORSHIP_POLICY }} - DEBUG: true + # - name: Run tests & coverage + # run: bun run test:ci + # env: + # ENTRYPOINT_ADDRESS: ${{ vars.ENTRYPOINT_ADDRESS }} + # FACTORY_ADDRESS: ${{ vars.FACTORY_ADDRESS }} + # TEST_CHAIN_ID: ${{ vars.TEST_CHAIN_ID }} + # TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }} + # RPC_URL: ${{ secrets.RPC_URL }} + # BUNDLER_RPC_HOST: ${{ secrets.BUNDLER_RPC_HOST }} + # PIMLICO_BUNDLER_RPC_HOST: ${{ secrets.PIMLICO_BUNDLER_RPC_HOST }} + # PIMLICO_PAYMASTER_RPC_HOST: ${{ secrets.PIMLICO_PAYMASTER_RPC_HOST }} + # ACTIVE_SPONSORSHIP_POLICY: ${{ secrets.ACTIVE_SPONSORSHIP_POLICY }} + # DEBUG: true - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + # - name: Upload coverage reports to Codecov + # uses: codecov/codecov-action@v3 + # env: + # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} size: name: Size diff --git a/.size-limit.json b/.size-limit.json index 28c9ca02..b2305a09 100644 --- a/.size-limit.json +++ b/.size-limit.json @@ -2,7 +2,7 @@ { "name": "permissionless (esm)", "path": "./packages/permissionless/_esm/index.js", - "limit": "30 kB", + "limit": "35 kB", "import": "*" }, { @@ -13,7 +13,7 @@ { "name": "permissionless (minimal surface - tree-shaking)", "path": "./packages/permissionless/_esm/index.js", - "limit": "10 kB", + "limit": "15 kB", "import": "{ bundlerActions }" } ]