Add JS and Solidity linting to CI
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Râu Cao
2022-08-09 15:55:09 +01:00
parent 51e50e7c46
commit 798fb941cd

View File

@@ -17,3 +17,15 @@ steps:
- su drone -c 'npm test' - su drone -c 'npm test'
depends_on: depends_on:
- setup - setup
- name: lint-js
image: gitea.kosmos.org/kredits/docker-ci:latest
commands:
- su drone -c 'npm run lint:wrapper' &
depends_on:
- setup
- name: lint-contracts
image: gitea.kosmos.org/kredits/docker-ci:latest
commands:
- su drone -c 'npm run lint:contracts' &
depends_on:
- setup