Skip to content

Commit a3b7b9e

Browse files
authored
Merge pull request #662 from ethereum/ci-check-coding-style
Add CI job to check coding style
2 parents 05a1955 + 86749f5 commit a3b7b9e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.circleci/config.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ workflows:
22
version: 2.1
33
node-multi-build:
44
jobs:
5+
- check-coding-style
56
- node-v10
67
- node-v12
78
- node-v14
@@ -17,6 +18,9 @@ workflows:
1718

1819
version: 2.1
1920

21+
orbs:
22+
shellcheck: circleci/shellcheck@volatile
23+
2024
commands:
2125
show-npm-version:
2226
steps:
@@ -182,6 +186,24 @@ jobs:
182186
name: coveralls
183187
command: npm run coveralls
184188

189+
check-coding-style:
190+
docker:
191+
- image: cimg/node:current
192+
steps:
193+
- show-npm-version
194+
- checkout
195+
- shellcheck/install
196+
- install-dependencies:
197+
cache-id: solc-js
198+
- run:
199+
name: Check for javascript/typescript coding style
200+
command: npm run lint
201+
- shellcheck/check:
202+
ignore-dirs: |
203+
./.git
204+
./node_modules
205+
./dist
206+
185207
hardhat-core-default-solc:
186208
# Runs out of memory on 'medium'.
187209
resource_class: medium+

0 commit comments

Comments
 (0)