Merge branch 'lilnounsDAO:master' into master #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Contracts CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths: | |
- "packages/nouns-contracts/**" | |
- "packages/nouns-subgraph/**" | |
branches: | |
- "**" | |
jobs: | |
build_and_test: | |
name: Build and Test | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 14.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.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: Run contract coverage | |
run: | | |
cd packages/nouns-contracts | |
yarn coverage | |
- name: Uninstall Yarn | |
if: always() | |
run: npm uninstall -g yarn |