Skip to content

chore: add networks.json and build script #81

chore: add networks.json and build script

chore: add networks.json and build script #81

Workflow file for this run

name: test
on: push
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv --fork-url ${{ secrets.RPC_URL }}
id: test
sdk_check:
strategy:
fail-fast: true
name: SDK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
cache: yarn
cache-dependency-path: yarn.lock
- name: Install dependencies
run: yarn
- name: Build
run: yarn build