Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add git hook on push #42

Merged
merged 1 commit into from
Mar 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

echo " * Please remember to run 'yarn run test:e2e-zkp' before opening a PR. *\n * note: The dev server should be running on port 3000 for the e2e tests to pass. *\n"
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"eject": "react-scripts eject",
"compile": "node circuits/scripts/compile.js",
"gen-input": "npx tsx src/scripts/generate_input.ts",
"compile-all": "yarn gen-input && yarn compile email true"
"compile-all": "yarn gen-input && yarn compile email true",
"prepare": "husky install"
},
"eslintConfig": {
"extends": [
Expand Down Expand Up @@ -92,6 +93,7 @@
"@types/tar-stream": "^2.2.2",
"browserstack-local": "^1.5.1",
"browserstack-node-sdk": "^1.6.1",
"husky": "^8.0.3",
"jest-junit": "^15.0.0",
"msw": "^1.0.1",
"nodemon": "^2.0.19",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8332,6 +8332,7 @@ __metadata:
ethereumjs-abi: ^0.6.8
ethers: ^5.7.1
forge-std: ^1.1.2
husky: ^8.0.3
jest-junit: ^15.0.0
libmime: ^5.1.0
localforage: ^1.10.0
Expand Down Expand Up @@ -11089,6 +11090,15 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^8.0.3":
version: 8.0.3
resolution: "husky@npm:8.0.3"
bin:
husky: lib/bin.js
checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0
languageName: node
linkType: hard

"hyphenate-style-name@npm:^1.0.3":
version: 1.0.4
resolution: "hyphenate-style-name@npm:1.0.4"
Expand Down