File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,14 @@ jobs:
34
34
# install deps
35
35
- run : npm i
36
36
# lint:
37
- - run : npm run lint
37
+ - run : npm run ci: lint
38
38
# test!
39
39
- run : |
40
40
export PATH="$HOME/.poetry/bin:$PATH"
41
41
export LC_ALL=C.UTF-8
42
42
export LANG=C.UTF-8
43
43
npm run test
44
+ - store_test_results :
45
+ path : ~/reports
46
+ - store_artifacts :
47
+ path : ~/reports
Original file line number Diff line number Diff line change 38
38
"main" : " index.js" ,
39
39
"bin" : {},
40
40
"scripts" : {
41
+ "ci:lint" : " eslint *.js lib/*.js --format junit --output-file ~/reports/eslint.xml && prettier -c index.js lib/*.js" ,
41
42
"test" : " node test.js" ,
42
43
"lint" : " eslint *.js lib/*.js && prettier -l index.js lib/*.js || (echo need formatting ; exit 1)" ,
43
44
"format" : " prettier --write index.js lib/*.js test.js"
You can’t perform that action at this time.
0 commit comments