Skip to content

Commit a3f7bbd

Browse files
chore(deps): update dependency husky to v9 (#157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mario Beltrán <[email protected]>
1 parent 62b04ec commit a3f7bbd

File tree

4 files changed

+11
-22
lines changed

4 files changed

+11
-22
lines changed

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ concurrency:
1717
group: ${{ github.workflow }}-${{ github.ref }}
1818
cancel-in-progress: true
1919

20+
env:
21+
HUSKY: 0
22+
2023
jobs:
2124
code_validation:
2225
name: 'Code Validation: ${{ matrix.validation_script }}'

.husky/pre-commit

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
# Skip pre-commit hook on CI
52
[ -n "$CI" ] && exit 0
63

7-
pnpm lint-staged
4+
lint-staged

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"build": "tsup",
88
"start": "pnpm build --watch",
9-
"prepare": "is-ci || husky install",
9+
"prepare": "husky",
1010
"test": "jest",
1111
"test:watch": "pnpm test -- --watch",
1212
"test:ci": "pnpm test -- --ci --coverage",
@@ -31,8 +31,7 @@
3131
"eslint": "8.57.0",
3232
"eslint-config-prettier": "9.1.0",
3333
"eslint-plugin-import": "2.29.1",
34-
"husky": "8.0.3",
35-
"is-ci": "3.0.1",
34+
"husky": "9.1.4",
3635
"jest": "29.7.0",
3736
"lint-staged": "15.2.8",
3837
"lodash.deburr": "4.1.0",

pnpm-lock.yaml

+5-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)