Skip to content

github action

github action #6

Workflow file for this run

name: Build SDK Workflow
on:
push:
branches: [ 20240215-examples ]
pull_request:
branches: [ 20240215-examples ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: 20240215-examples
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '21' # Adjust this to your project's Node.js version
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Build Contracts
run: |
npm i
./buildContracts.sh
- name: Build SDK
run: |
npm i
npm run build