Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ jobs:
# install deps
- run: npm i
# lint:
- run: npm run lint
- run: npm run ci:lint
# test!
- run: |
export PATH="$HOME/.poetry/bin:$PATH"
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
npm run test
- store_test_results:
path: ~/reports
- store_artifacts:
path: ~/reports
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down