Skip to content

Commit e9939ab

Browse files
committed
fix(ci): move --ignore-workspace before the script name
`pnpm build --ignore-workspace` forwards --ignore-workspace as an arg to the underlying `vite build` invocation, which errors out with `Unknown option --ignoreWorkspace`. To treat it as a pnpm flag it has to precede the subcommand: `pnpm --ignore-workspace run build`. This bug was inherited unchanged from main during PR #22 conflict resolution; confirmed reproducible locally (vite 5.4.21, pnpm 10.33.0).
1 parent 47c51f3 commit e9939ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ jobs:
7070
run: pnpm install --frozen-lockfile --ignore-workspace
7171

7272
- name: Build (tsc --noEmit + vite build)
73-
run: pnpm build --ignore-workspace
73+
run: pnpm --ignore-workspace run build

0 commit comments

Comments
 (0)