Skip to content

Commit

Permalink
Merge pull request #662 from ethereum/ci-check-coding-style
Browse files Browse the repository at this point in the history
Add CI job to check coding style
  • Loading branch information
cameel committed Sep 28, 2022
2 parents 05a1955 + 86749f5 commit a3b7b9e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .circleci/config.yml
Expand Up @@ -2,6 +2,7 @@ workflows:
version: 2.1
node-multi-build:
jobs:
- check-coding-style
- node-v10
- node-v12
- node-v14
Expand All @@ -17,6 +18,9 @@ workflows:

version: 2.1

orbs:
shellcheck: circleci/shellcheck@volatile

commands:
show-npm-version:
steps:
Expand Down Expand Up @@ -182,6 +186,24 @@ jobs:
name: coveralls
command: npm run coveralls

check-coding-style:
docker:
- image: cimg/node:current
steps:
- show-npm-version
- checkout
- shellcheck/install
- install-dependencies:
cache-id: solc-js
- run:
name: Check for javascript/typescript coding style
command: npm run lint
- shellcheck/check:
ignore-dirs: |
./.git
./node_modules
./dist
hardhat-core-default-solc:
# Runs out of memory on 'medium'.
resource_class: medium+
Expand Down

0 comments on commit a3b7b9e

Please sign in to comment.