Merge remote-tracking branch 'origin/develop' into cohort/clrfund #254
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: Build and test contracts | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- 'contracts/**' | |
env: | |
NODE_VERSION: 16.x | |
jobs: | |
test-contracts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Install | |
run: yarn | |
- name: Run tests | |
run: yarn test:contracts | |