Skip to content

Switch to seed

Switch to seed #3

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Enable Corepack
run: corepack enable pnpm
- name: Install Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Compile Contracts
run: |
pnpm compile
size:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Enable Corepack
run: corepack enable pnpm
- name: Install Node
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: stable
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Compile Contracts
run: |
pnpm compile
- name: Contract Size Check
run: |
pnpm size contracts/