Skip to content

Commit

Permalink
Fix for husky disabling for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed Nov 6, 2023
1 parent 3d649a3 commit 227019c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
- name: Install dependencies
run: pnpm i --frozen-lockfile
env:
NO_HUSKY_HOOKS: 1

- name: Create a Pull Request for a new release
id: changesets
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"ci": "c8 pnpm test && c8 report --reporter=json",
"build": "pnpm exec del-cli lib && pnpm exec tsup",
"test": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" ava",
"prepare": "node -e 'process.exit(+(process.env.CI === undefined && process.env.NO_HUSKY_HOOKS === undefined));' && husky install || true",
"prepare": "node -e 'process.exit(+(process.env.CI !== undefined || process.env.NO_HUSKY_HOOKS !== undefined));' && husky install || true",
"release": "pnpm run build && pnpm exec changeset publish"
},
"devDependencies": {
Expand Down

0 comments on commit 227019c

Please sign in to comment.