-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(CI): add deploy token and git user configs (#4594)
* chore(CI): fix husky in git * chore: add token * chore: fix target * chore: add git config
- Loading branch information
1 parent
f864364
commit 0a520f5
Showing
7 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
# skip husky in CI | ||
# https://typicode.github.io/husky/guide.html#with-env-variables | ||
[ -n "$CI" ] && exit 0 | ||
|
||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no-install commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
# skip husky in CI | ||
# https://typicode.github.io/husky/guide.html#with-env-variables | ||
[ -n "$CI" ] && exit 0 | ||
|
||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
# avoid conflicts in pnpm lock | ||
# https://7tonshark.com/posts/avoid-conflicts-in-pnpm-lock/ | ||
git config merge.ours.driver true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
# skip husky in CI | ||
# https://typicode.github.io/husky/guide.html#with-env-variables | ||
[ -n "$CI" ] && exit 0 | ||
|
||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no-install lint-staged |