Implement upgradeable proxies to compliance modules #716
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: 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 |