Skip to content

next (v2)

next (v2) #46

Workflow file for this run

name: Test
on:
pull_request:
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
vitest:
if: github.event_name == 'workflow_call' || github.ref != 'refs/heads/next' && github.base_ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm
- uses: foundry-rs/foundry-toolchain@v1
- run: pnpm install
- run: pnpm run test --coverage
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}