Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 3a67125

Browse files
authored
Add code style checker in unit test workflow (#448)
1 parent 4b7d14c commit 3a67125

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ unit_tests: &unit_tests
1414
- run:
1515
name: Install modules and dependencies.
1616
command: npm install
17+
- run:
18+
name: Check code style and linting
19+
command: npm run check
1720
- run:
1821
name: Ensure code compiles to JS.
1922
command: npm run compile

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"test": "lerna run test",
1212
"bootstrap": "lerna bootstrap",
1313
"bump": "lerna publish",
14-
"codecov": "lerna run codecov"
14+
"codecov": "lerna run codecov",
15+
"check": "lerna run check"
1516
},
1617
"keywords": [
1718
"opencensus",

0 commit comments

Comments
 (0)