Skip to content

Commit 8b01f0d

Browse files
committed
fix(ci): use npm workspace install instead of npm link for sf-plugin-build
npm link + npm install inside plugin-agency/ conflicted with the root workspace — npm resolved @muselab/busbar-sf-agentscript from pkg/ and marked it version.workspace=true, breaking oclif's semver parsing. Root npm install automatically links the workspace pkg/ into plugin-agency/node_modules without any manual npm link steps.
1 parent c52cf38 commit 8b01f0d

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,9 @@ jobs:
171171
"
172172
- name: Install plugin dependencies
173173
run: |
174-
# Link the locally built WASM into npm's global registry so
175-
# plugin-agency can install it by name+version without modifying package.json
176-
(cd pkg && npm link)
177-
(cd plugin-agency && npm link @muselab/busbar-sf-agentscript && npm install)
174+
# Run workspace-aware install from root — npm automatically links
175+
# the locally built pkg/ into plugin-agency/node_modules/
176+
npm install
178177
- name: Build SF plugin
179178
working-directory: plugin-agency/
180179
run: npm run build

0 commit comments

Comments
 (0)