Skip to content

Merge pull request #243 from desci-labs/contributor-apis #15

Merge pull request #243 from desci-labs/contributor-apis

Merge pull request #243 from desci-labs/contributor-apis #15

# build.yml
on:
# pull_request:
# paths:
# - .github/workflows/**
# - desci-models/**
push:
paths:
- .github/workflows/**
- desci-contracts/**
name: Test desci-contracts
jobs:
build-and-test:
runs-on: ubuntu-latest
# container:
# image: ubuntu:latest
# options: --user 1001
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up the environment
# Replace this line with the appropriate setup for your project
# Examples:
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: cd desci-contracts && npm i -g yarn && yarn && yarn build
- name: Run tests
run: |
cd desci-contracts && npx hardhat clean && yarn test