Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Commit

Permalink
chore(ci): add es-check dev dep (#29)
Browse files Browse the repository at this point in the history
* chore(build): add es-check

since this lib isn't transpiled we should ensure adherence to our min supported JS vintage

* chore(ci): add es check step
  • Loading branch information
Wes Johnson authored Apr 27, 2021
1 parent 112409d commit ab3e877
Show file tree
Hide file tree
Showing 3 changed files with 310 additions and 18 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
steps:
- checkout
- run: yarn install
- run: yarn escheck
- run: yarn test
- persist_to_workspace:
root: .
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "Canadian SIN (Social Insurance Number) parser and generator",
"main": "social-insurance-number.js",
"scripts": {
"test": "jest"
"test": "jest",
"escheck": "es-check es5 social-insurance-number.js"
},
"repository": {
"type": "git",
Expand All @@ -18,6 +19,7 @@
],
"license": "MIT",
"devDependencies": {
"es-check": "^5.2.3",
"jest": "^24.5.0",
"semantic-release": "^15.13.3"
}
Expand Down
Loading

0 comments on commit ab3e877

Please sign in to comment.