We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c583802 + 830aee4 commit 0738379Copy full SHA for 0738379
circle.yml
@@ -34,10 +34,14 @@ jobs:
34
# install deps
35
- run: npm i
36
# lint:
37
- - run: npm run lint
+ - run: npm run ci:lint
38
# test!
39
- run: |
40
export PATH="$HOME/.poetry/bin:$PATH"
41
export LC_ALL=C.UTF-8
42
export LANG=C.UTF-8
43
npm run test
44
+ - store_test_results:
45
+ path: ~/reports
46
+ - store_artifacts:
47
package.json
@@ -38,6 +38,7 @@
"main": "index.js",
"bin": {},
"scripts": {
+ "ci:lint": "eslint *.js lib/*.js --format junit --output-file ~/reports/eslint.xml && prettier -c index.js lib/*.js",
"test": "node test.js",
"lint": "eslint *.js lib/*.js && prettier -l index.js lib/*.js || (echo need formatting ; exit 1)",
"format": "prettier --write index.js lib/*.js test.js"
0 commit comments