Skip to content

Commit 25970e7

Browse files
fix: remove postinstall hook
1 parent 35a7060 commit 25970e7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ jobs:
1313
- uses: actions/setup-node@v3
1414
with:
1515
node-version: 18
16+
env:
17+
HUSKY: 0
1618
- run: npx semantic-release
1719
env:
1820
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1921
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
22+
HUSKY: 0

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"src"
3232
],
3333
"scripts": {
34-
"postinstall": "is-ci || husky install",
34+
"prepare": "is-ci || husky install",
3535
"test": "echo \"Error: no test specified\" && exit 1"
3636
},
3737
"commitlint": {

0 commit comments

Comments
 (0)