Skip to content

feat(cli) - expose all cli functions so they can be used in custom scripts #352

feat(cli) - expose all cli functions so they can be used in custom scripts

feat(cli) - expose all cli functions so they can be used in custom scripts #352

Workflow file for this run

name: Contracts
on:
push:
branches: [ master, audit, dev ]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Update npm to latest version
run: npm install --global npm@latest
- name: Build
run: |
npm install
npm run bootstrap
npm run build
- name: Compile Solidity
run: npm run compileSol
working-directory: contracts
- name: Test
run: npx jest --runInBand
working-directory: contracts