Skip to content

fix(ci): skip postinstall script when updating app lock file#453

Merged
yondonfu merged 1 commit intomainfrom
ci/version-bump-workflows
Feb 12, 2026
Merged

fix(ci): skip postinstall script when updating app lock file#453
yondonfu merged 1 commit intomainfrom
ci/version-bump-workflows

Conversation

@yondonfu
Copy link
Copy Markdown
Contributor

Summary

  • Adds --ignore-scripts to npm install --package-lock-only for the app/ lock file update in the version-bump workflow
  • The app/package.json postinstall script (npx electron-builder install-app-deps) fails when no node_modules are present, which is the case during a lock-file-only install
  • We only need the lock file updated, so skipping lifecycle scripts is safe

Test plan

  • Re-run the version-bump.yml workflow and verify the app lock file step succeeds

🤖 Generated with Claude Code

The app/ postinstall script (electron-builder install-app-deps) fails
during `npm install --package-lock-only` because node_modules aren't
installed. Adding --ignore-scripts skips lifecycle scripts since we
only need the lock file updated.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: Yondon Fu <[email protected]>
@yondonfu yondonfu force-pushed the ci/version-bump-workflows branch from 2ec5979 to c475bb8 Compare February 12, 2026 17:20
@yondonfu yondonfu merged commit 6e4e80a into main Feb 12, 2026
6 checks passed
@yondonfu yondonfu deleted the ci/version-bump-workflows branch February 12, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant