Update LICENSE.md #316
Workflow file for this run
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-Build | |
on: | |
push: | |
branches: [ main, dev ] | |
tags: ['*'] | |
pull_request: | |
env: | |
cwd: ${{github.workspace}}/packages/contracts | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
unit-test-and-lint: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run Unit Test | |
run: | | |
yarn workspace @qfi/contracts run typechain | |
yarn workspace @qfi/contracts run test:unit | |
- name: Lint | |
run: | | |
yarn workspace @qfi/contracts run lint:solidity | |
yarn workspace @qfi/contracts run lint:js | |
qv-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run QV Test | |
run: | | |
yarn workspace @qfi/contracts run typechain | |
yarn workspace @qfi/contracts test:qv | |
qf-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run QF Test | |
run: | | |
yarn workspace @qfi/contracts run typechain | |
yarn workspace @qfi/contracts run test:qf |