Skip to content

Commit 1bf6120

Browse files
committed
fix: husky
- changed the `npm run prepare` command to make the ci/cd pipeline pass (husky is a dev dependency so it is not installed during the `RUN npm ci --omit=dev` command of the `Dockerfile` of the api. But the ci command also runs the `npm run prepare` script that needs husky. We now use `husky || true` to make it pass during that build)
1 parent 99f52c0 commit 1bf6120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
1010
"check-types": "turbo run check-types",
1111
"lint-staged": "lint-staged",
12-
"prepare": "husky"
12+
"prepare": "husky || true"
1313
},
1414
"devDependencies": {
1515
"husky": "^9.1.7",

0 commit comments

Comments
 (0)