mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-24 11:31:46 +00: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
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…
Reference in New Issue
Block a user