Skip to content

Commit 0deb85a

Browse files
ci: ensure husky is skipped during GitHub Action runs
1 parent 5c2c86e commit 0deb85a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/npm-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
git config user.email "[email protected]"
1919
- name: Install npm dependencies
2020
run: npm ci
21+
env:
22+
HUSKY: 0
2123
- name: Run quality checks
2224
run: npm run quality
2325
- name: Build project
2426
run: npm run build
25-
# - name: Prevent husky from interfering with standard-version commit
26-
# run: rm ./.git/hooks/prepare-commit-msg
2727
- name: Run standard-version to bump version
2828
run: npm run release
2929
- name: Push version bump to main

0 commit comments

Comments
 (0)