Skip to content

NounsDescriptorV3 #1927

NounsDescriptorV3

NounsDescriptorV3 #1927

Workflow file for this run

name: Contracts CI
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
paths:
- 'packages/nouns-contracts/**'
- 'packages/nouns-subgraph/**'
branches:
- '**'
env:
NODE_OPTIONS: --max_old_space_size=5120
jobs:
build_and_test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Install Yarn
run: npm install -g yarn
- run: yarn
- run: yarn build
- name: Run contract tests
run: |
cd packages/nouns-contracts
yarn test
- name: Uninstall Yarn
if: always()
run: npm uninstall -g yarn
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
cd packages/nouns-contracts
forge --version
forge build --sizes
- name: Run Forge tests
run: |
cd packages/nouns-contracts
forge test -vvv --ffi
env:
RPC_MAINNET: ${{ secrets.RPC_MAINNET }}