Skip to content

feat: add deployments #506

feat: add deployments

feat: add deployments #506

Workflow file for this run

name: Build And Test
on:
push:
pull_request:
jobs:
check:
strategy:
fail-fast: true
name: CI/CD
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "18"
cache: "yarn"
- name: Yarn install
run: yarn install
- name: Forge install
run: yarn forge:install
- name: Forge build
run: yarn forge:build
- name: Run Forge tests
env:
OPTIMISM_RPC_URL: ${{ secrets.OPTIMISM_RPC_URL }}
ARBITRUM_RPC_URL: ${{ secrets.ARBITRUM_RPC_URL }}
POLYGON_RPC_URL: ${{ secrets.POLYGON_RPC_URL }}
run: yarn forge:test