Skip to content

Commit fa9ed83

Browse files
committed
Upgraded husky configuration
1 parent ede652d commit fa9ed83

File tree

6 files changed

+14
-10
lines changed

6 files changed

+14
-10
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#
1212
name: "CodeQL"
1313

14+
env:
15+
HUSKY: 0
16+
1417
on:
1518
push:
1619
branches: [ master, dev ]

.github/workflows/publish-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Dev publish
22

3+
env:
4+
HUSKY: 0
5+
36
on:
47
push:
58
branches:

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Release publish
22

3+
env:
4+
HUSKY: 0
5+
36
on:
47
push:
58
branches:

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Tests
22

3+
env:
4+
HUSKY: 0
5+
36
on:
47
push:
58
pull_request:

.husky/pre-commit

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
#!/usr/bin/env sh
2-
3-
# .husky/pre-commit
4-
# ...
5-
[ -n "$CI" ] && exit 0
6-
7-
. "$(dirname -- "$0")/_/husky.sh"
8-
9-
npm run format && npm test
1+
npm run format && npm test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test:watch": "vitest",
1212
"format": "npx @biomejs/biome check --write",
1313
"lint": "npx @biomejs/biome check",
14-
"prepare": "husky install"
14+
"prepare": "husky || true"
1515
},
1616
"repository": {
1717
"type": "git",

0 commit comments

Comments
 (0)