Skip to content

Commit e5160cf

Browse files
Merge pull request #110 from RyanClementsHax/fix-release
ci(release): prevent husky from running in release job
2 parents ae1db1a + b5c2be7 commit e5160cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
- name: restore dependencies
1818
uses: bahmutov/npm-install@v1
1919
- name: release
20-
run: npm run release
20+
run: HUSKY=0 npm run release
2121
env:
22+
HUSKY: 0 # semantic-release does a push which would trigger the pre-push git hook
2223
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2324
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)