Skip to content

[#23] Organise imports, remove unused imports, fix linting issues #204

[#23] Organise imports, remove unused imports, fix linting issues

[#23] Organise imports, remove unused imports, fix linting issues #204

Workflow file for this run

name: safe-core-protocol-demo-contracts
on: [push, pull_request]
defaults:
run:
working-directory: ./contracts
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18.x
- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn build
- run: yarn coverage
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18.x
- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn --frozen-lockfile
- run: yarn lint