Skip to content

Commit e96d356

Browse files
elrrrrrrrclaude
andcommitted
fix(ci): use tsdown --workspace with dir path, not --filter
pnpm on next passes `--workspace ./tools/egg-bin` through to tsdown (pnpm doesn't recognize `--workspace` as its own flag). tsdown's `--workspace [dir]` expects a directory path, not a package name. Previous attempts: --workspace @eggjs/bin → "No workspace packages found" (pkg name) --filter @eggjs/bin → works but slower than expected Correct form matching next: `-- --workspace ./tools/egg-bin` Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 61653e4 commit e96d356

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ jobs:
208208

209209
- name: Run tests
210210
run: |
211-
ut run build -- --filter @eggjs/bin
211+
ut run build -- --workspace ./tools/egg-bin
212212
ut run ci --workspace @eggjs/bin
213213
214214
- name: Code Coverage
@@ -249,7 +249,7 @@ jobs:
249249

250250
- name: Run tests
251251
run: |
252-
ut run build -- --filter @eggjs/scripts
252+
ut run build -- --workspace ./tools/scripts
253253
ut run ci --workspace tools/scripts
254254
255255
- name: Code Coverage

0 commit comments

Comments
 (0)