1
0
Fork 0
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:
Phred 2021-08-06 09:50:47 -05:00
parent 22b665fc30
commit fb22f3a947
No known key found for this signature in database
GPG key ID: 8103F27168DAA2A0
3 changed files with 11 additions and 0 deletions

4
.husky/pre-commit Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
lint-staged

4
.husky/pre-push Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npm test

3
.lintstagedrc Normal file
View file

@ -0,0 +1,3 @@
{
"*.ts": "npm run format-check"
}