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 <hello@os4us.org>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dave-London 2026-02-09 20:09:41 +02:00 committed by GitHub
parent d5b01b6843
commit 7695f7866a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ runs:
shell: bash shell: bash
run: | run: |
cd ${GITHUB_ACTION_PATH} cd ${GITHUB_ACTION_PATH}
bun install bun install --production
- name: Run Claude Code Action - name: Run Claude Code Action
id: run id: run

View File

@ -116,7 +116,7 @@ runs:
shell: bash shell: bash
run: | run: |
cd ${GITHUB_ACTION_PATH} cd ${GITHUB_ACTION_PATH}
bun install bun install --production
- name: Install Claude Code - name: Install Claude Code
shell: bash shell: bash