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

ci: don't run git hooks when in ci #783

Merged
merged 1 commit into from Mar 7, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"test": "jest",
"tools:regenerate-docs": "ts-node -T tools/regenerate-docs",
"typecheck": "tsc -p .",
"postinstall": "husky install",
"postinstall": "is-ci || husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
Expand Down Expand Up @@ -108,6 +108,7 @@
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^5.1.3",
"is-ci": "^3.0.0",
"jest": "^26.0.1",
"jest-runner-eslint": "^0.10.0",
"lint-staged": "^10.2.2",
Expand Down
19 changes: 19 additions & 0 deletions yarn.lock
Expand Up @@ -3282,6 +3282,13 @@ __metadata:
languageName: node
linkType: hard

"ci-info@npm:^3.1.1":
version: 3.1.1
resolution: "ci-info@npm:3.1.1"
checksum: 417d2bf17c320d477bc32997d3831bcc1b174d6b48616c2f0463765f042f073bfbfb15e06abdeea55b05ca9c8e054057eb9e0672e4e6031457e87216b2faddda
languageName: node
linkType: hard

"cidr-regex@npm:^2.0.10":
version: 2.0.10
resolution: "cidr-regex@npm:2.0.10"
Expand Down Expand Up @@ -4574,6 +4581,7 @@ __metadata:
eslint-plugin-node: ^11.0.0
eslint-plugin-prettier: ^3.0.0
husky: ^5.1.3
is-ci: ^3.0.0
jest: ^26.0.1
jest-runner-eslint: ^0.10.0
lint-staged: ^10.2.2
Expand Down Expand Up @@ -6105,6 +6113,17 @@ __metadata:
languageName: node
linkType: hard

"is-ci@npm:^3.0.0":
version: 3.0.0
resolution: "is-ci@npm:3.0.0"
dependencies:
ci-info: ^3.1.1
bin:
is-ci: bin.js
checksum: 1e26d3ba6634ebee83f9d22f260354c5d950eada4d609c30cc2642069f8ba52f3aeb4c9bbf8099aaf04a2f44a1ed7beef2a24485f988753c8c078a57e9b3a2fd
languageName: node
linkType: hard

"is-cidr@npm:^3.0.0":
version: 3.1.1
resolution: "is-cidr@npm:3.1.1"
Expand Down