mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-01 20:50:09 +02:00
added formatting before commit and run tests before push hooks
Signed-off-by: Phred <fearphage@gmail.com>
This commit is contained in:
parent
22b665fc30
commit
fb22f3a947
3 changed files with 11 additions and 0 deletions
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
lint-staged
|
4
.husky/pre-push
Executable file
4
.husky/pre-push
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npm test
|
3
.lintstagedrc
Normal file
3
.lintstagedrc
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"*.ts": "npm run format-check"
|
||||
}
|
Loading…
Add table
Reference in a new issue