Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannibaratta committed Nov 12, 2023
1 parent a3840a1 commit 0ed5d61
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"test:coverage": "yarn test --coverage",
"prepush-validation": "yarn lint && yarn compile && yarn test",
"generate:artifacts": "(rm ../artifacts/terraapprove 2>/dev/null || true) && yarn pkg --targets node18-linux,node18-alpine --output ../artifacts/terraapprove --compress GZip ./build/main/src/main.js",
"callme": "echo 'call me'"
"callme": "echo 'call me' && exit 1",
"callmesafe": "echo 'call me safe'"
},
"name": "terraapprove",
"version": "0.0.2",
Expand Down
8 changes: 8 additions & 0 deletions lefthook.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
pre-commit:
parallel: true
commands:
lint-typescript-app:
root: core
run: yarn callmesafe


pre-push:
parallel: true
commands:
lint-typescript-app:
Expand Down

0 comments on commit 0ed5d61

Please sign in to comment.