Skip to content

Commit 1cd93da

Browse files
fspecclaude
andcommitted
fix(ci): skip npm prepare scripts in CI to avoid husky error
The prepare script runs husky which isn't available until after npm ci completes. Use --ignore-scripts to skip this in CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c73c347 commit 1cd93da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-codelet-napi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
shared-key: ${{ matrix.target }}
7474

7575
- name: Install dependencies
76-
run: npm ci
76+
run: npm ci --ignore-scripts
7777
working-directory: codelet/napi
7878

7979
- name: Build
@@ -124,7 +124,7 @@ jobs:
124124
node-version: '20'
125125

126126
- name: Install dependencies
127-
run: npm ci
127+
run: npm ci --ignore-scripts
128128
working-directory: codelet/napi
129129

130130
- name: Download artifact

0 commit comments

Comments
 (0)