Skip to content

Commit d0807e3

Browse files
gold-ak47claude
andcommitted
fix: remove postinstall hook, restore npm ci in release
Align with hotwired-mcp pattern: no postinstall script, npm ci in CI (deterministic), files array is just bin/ + npm/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 417e942 commit d0807e3

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
node-version: '20'
3232

3333
- name: Install dependencies
34-
run: npm install --omit=optional --ignore-scripts
34+
run: npm ci
3535

3636
- name: Semantic Release (dry run)
3737
id: semantic
@@ -116,7 +116,7 @@ jobs:
116116
registry-url: 'https://registry.npmjs.org'
117117

118118
- name: Install dependencies
119-
run: npm install --omit=optional --ignore-scripts
119+
run: npm ci
120120

121121
- name: Download all artifacts
122122
uses: actions/download-artifact@v4

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@
2424
},
2525
"files": [
2626
"bin",
27-
"scripts",
2827
"npm"
2928
],
3029
"scripts": {
31-
"test": "cargo test",
32-
"postinstall": "node scripts/postinstall.js"
30+
"test": "cargo test"
3331
},
3432
"optionalDependencies": {
3533
"@treble-app/cli-darwin-arm64": "1.0.0",

0 commit comments

Comments
 (0)