Skip to content

Commit

Permalink
fixed CI/CD and changed prepare script to postinstall to install husky
Browse files Browse the repository at this point in the history
  • Loading branch information
NivEz committed Jan 13, 2024
1 parent 275cc19 commit 114a170
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Bump and Release
name: Bump and Publish
on:
push:
branches:
Expand Down Expand Up @@ -92,6 +92,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: main

- name: Publish package to npm
id: publish
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"publish:dry": "npm publish --dry-run",
"set-webhook": "node ./scripts/setWebhook.js",
"delete-webhook": "node ./scripts/deleteWebhook.js",
"prepare": "husky install",
"postinstall": "husky install",
"format": "npx prettier . --write"
},
"bin": {
Expand Down

0 comments on commit 114a170

Please sign in to comment.