Skip to content

Commit 24210b2

Browse files
committed
ci: fix husky being required to install
Signed-off-by: Antonette Caldwell <134739862+nebula-aac@users.noreply.github.com>
1 parent 6e483be commit 24210b2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ name: Publish Node.js Package
66
on:
77
release:
88
types: [synchronize, published]
9-
9+
env:
10+
HUSKY: 0
11+
1012
jobs:
1113
build:
1214
runs-on: ubuntu-latest

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"postinstall": "husky install",
2525
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
2626
"lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
27-
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"",
2827
"test": "jest",
2928
"versionup:major": "npm version major",
3029
"versionup:minor": "npm version minor",

0 commit comments

Comments
 (0)