Add Vercel deployment support (#9)
This commit is contained in:
1 parent
e9e6e3bb4d
commit
19e8edccf9
4 files changed
+31
No files matched your search
@@ -2,4 +2,12 @@
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
. "$(dirname "$0")/common.sh"
|
||||
|
||||
|
||||
branch="$(git rev-parse --abbrev-ref HEAD)"
|
||||
|
||||
if [ "$branch" = "main" ]; then
|
||||
echo "You can't commit directly to main branch, please checkout a new branch to commit"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
yarn lint
|
||||
Reference in new issue
Block a user