Skip to content

Commit e436453

Browse files
Copilotkalwalt
andcommitted
Set HUSKY=0 at job level to disable hooks consistently in CI
Co-authored-by: kalwalt <[email protected]>
1 parent 8090f91 commit e436453

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717
jobs:
1818
publish:
1919
runs-on: ubuntu-24.04
20+
env:
21+
HUSKY: 0
2022
steps:
2123
- name: Checkout repository
2224
uses: actions/checkout@v4
@@ -48,9 +50,7 @@ jobs:
4850
echo "tag=$ref_name" >> $GITHUB_OUTPUT
4951
fi
5052
51-
- name: Install dependencies (disable husky)
52-
env:
53-
HUSKY: 0
53+
- name: Install dependencies
5454
run: npm ci
5555

5656
- name: Build

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
jobs:
1414
build_and_release:
1515
runs-on: ubuntu-24.04
16+
env:
17+
HUSKY: 0
1618
steps:
1719
- name: Checkout repository
1820
uses: actions/checkout@v4

0 commit comments

Comments
 (0)