Skip to content

Commit b40d630

Browse files
committed
chore(husky): remove ghooks
1 parent 42934f4 commit b40d630

File tree

3 files changed

+20
-135
lines changed

3 files changed

+20
-135
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929

3030
- name: Semantic Release
3131
env:
32+
HUSKY: 0
3233
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3334
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3435
run: npx semantic-release

package-lock.json

Lines changed: 17 additions & 131 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"cover": "c8 -r text -r lcov npm test",
1717
"test": "ava",
1818
"test:no-coverage": "ava",
19+
"prepare": "husky install",
1920
"validate": "npm run cover && npm run check-coverage"
2021
},
2122
"repository": {
@@ -49,7 +50,7 @@
4950
"commitizen": "^4.3.0",
5051
"cz-conventional-changelog": "^2.1.0",
5152
"esm": "^3.2.25",
52-
"ghooks": "^2.0.4",
53+
"husky": "^9.1.7",
5354
"prettier": "^1.13.7",
5455
"rimraf": "^2.6.2",
5556
"tap-nyan": "^1.1.0",
@@ -61,9 +62,6 @@
6162
"typescript": "^5.5.4"
6263
},
6364
"config": {
64-
"ghooks": {
65-
"pre-commit": "npm run validate"
66-
},
6765
"commitizen": {
6866
"path": "node_modules/cz-conventional-changelog"
6967
}

0 commit comments

Comments
 (0)