mirror of
https://github.com/actions/typescript-action.git
synced 2025-04-06 23:39:45 +00:00
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:
committed by
Danny McCormick
parent
6ea3f673aa
commit
9851c37052
@ -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\""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user