Skip to content

Compliance modules fixes & improvements #814

Compliance modules fixes & improvements

Compliance modules fixes & improvements #814

Workflow file for this run

name: Test workflow
on: pull_request
jobs:
lint:
name: Lint sources
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: 'actions/checkout@master'
- name: Set Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Lint Solidity sources
run: npm run lint:sol
- name: Lint TypeScript sources
run: npm run lint:ts
unit_test:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- name: Checkout
uses: 'actions/checkout@master'
- name: Set Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Run test coverage
run: npm run coverage
- name: Upload coverage to action results
uses: actions/upload-artifact@v3
with:
path: |
coverage/
coverage.json