Add workflow to build, test, and check formatting/artifacts on PR (#8)

* add workflow

* add workflow and remove husky

* prettier tests
This commit is contained in:
Shawn Napora
2019-08-08 14:36:59 -04:00
committed by Danny McCormick
parent 6ea3f673aa
commit 9851c37052
4 changed files with 29 additions and 233 deletions

View File

@ -33,18 +33,10 @@
"@types/jest": "^24.0.13",
"@types/node": "^12.0.4",
"@types/semver": "^6.0.0",
"husky": "^2.3.0",
"jest": "^24.8.0",
"jest-circus": "^24.7.1",
"prettier": "^1.17.1",
"ts-jest": "^24.0.2",
"typescript": "^3.5.1"
},
"husky": {
"skipCI": true,
"hooks": {
"pre-commit": "npm run build && npm run format",
"post-commit": "npm prune --production && git add node_modules/* && git commit -m \"Husky commit correct node modules\""
}
}
}