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:
parent
d5b01b6843
commit
7695f7866a
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user