From 7695f7866a6439966f7c3a61e7a171915ff4e5ae Mon Sep 17 00:00:00 2001 From: Dave-London <126142871+Dave-London@users.noreply.github.com> Date: Mon, 9 Feb 2026 20:09:41 +0200 Subject: [PATCH] fix: skip dev dependencies in CI install step (#919) Use `bun install --production` instead of `bun install` in both action.yml and base-action/action.yml to skip installing devDependencies (@types/*, prettier, typescript) that are not needed at runtime. Bun runs TypeScript natively without needing the typescript compiler or type definition packages. This reduces installed packages from 151 to 135 and speeds up the install step. Fixes #895 Co-authored-by: Dave-London Co-authored-by: Claude Opus 4.6 --- action.yml | 2 +- base-action/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 6418040..5249664 100644 --- a/action.yml +++ b/action.yml @@ -176,7 +176,7 @@ runs: shell: bash run: | cd ${GITHUB_ACTION_PATH} - bun install + bun install --production - name: Run Claude Code Action id: run diff --git a/base-action/action.yml b/base-action/action.yml index c7b54c9..fdce1fa 100644 --- a/base-action/action.yml +++ b/base-action/action.yml @@ -116,7 +116,7 @@ runs: shell: bash run: | cd ${GITHUB_ACTION_PATH} - bun install + bun install --production - name: Install Claude Code shell: bash