Skip to content

Commit 268d541

Browse files
Copilotkalwalt
andcommitted
Disable Husky consistently across all CI workflows (#16)
* Initial plan * Set HUSKY=0 at job level to disable hooks consistently in CI Co-authored-by: kalwalt <[email protected]> * Add HUSKY=0 to build.yml and ci.yml workflows for consistency Co-authored-by: kalwalt <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: kalwalt <[email protected]>
1 parent d9755dc commit 268d541

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
jobs:
1212
build-and-test:
1313
runs-on: ubuntu-24.04
14+
env:
15+
HUSKY: 0
1416
steps:
1517
- name: Checkout
1618
uses: actions/checkout@v4

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
jobs:
1212
test:
1313
runs-on: ubuntu-24.04
14+
env:
15+
HUSKY: 0
1416
steps:
1517
- uses: actions/checkout@v4
1618
- name: Setup Node.js

.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)