Join CI linting into one job
@@ -27,31 +27,19 @@ jobs:
root: implementation
paths:
- .npmrc
- lint_js:
- executor: docker-node
- steps:
- - checkout
- - attach_workspace:
- at: implementation
- - run:
- name: Lint JS
- working_directory: ~/project/implementation
- command: |
- npm ci
- npm run js:lint
- lint_solidity:
+ lint:
executor: docker-node
steps:
- checkout
- attach_workspace:
at: implementation
- run:
- name: Lint Solidity
+ name: Lint Implementation
working_directory: ~/project/implementation
command: |
set -ex
npm ci
- npm run sol:lint
+ npm run lint
unit_test_contracts:
executor: docker-node
steps:
@@ -261,10 +249,7 @@ workflows:
jobs:
- setup_github_package_registry:
context: github-package-registry
- - lint_js:
- requires:
- - setup_github_package_registry
- - lint_solidity:
+ - lint:
requires:
- setup_github_package_registry
test:
