improve: export EIP1193Events #542
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull request | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
verify: | |
name: Verify | |
uses: ./.github/workflows/verify.yml | |
secrets: inherit | |
bench: | |
# Disable as benchmarking isn't working in CI | |
if: false | |
name: Benchmark | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Run benchmarks | |
run: pnpm bench:ci | |
env: | |
VITE_ANVIL_BLOCK_NUMBER: ${{ vars.VITE_ANVIL_BLOCK_NUMBER }} | |
VITE_ANVIL_BLOCK_TIME: ${{ vars.VITE_ANVIL_BLOCK_TIME }} | |
VITE_ANVIL_FORK_URL: ${{ secrets.VITE_ANVIL_FORK_URL }} | |
- name: Report benchmarks | |
run: pnpm bun ./.github/scripts/bench.ts | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
size: | |
name: Size | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
uses: ./.github/actions/install-dependencies | |
- name: Report build size | |
uses: preactjs/compressed-size-action@v2 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |