Skip to content

Commit 79b24a1

Browse files
committed
Switches dependency install to workspace-aware command
Uses a workspace-specific install command to improve compatibility with npm workspaces and ensure dependencies are installed in the correct context.
1 parent 75d1b38 commit 79b24a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484

8585
- name: Install dependencies (root)
8686
if: steps.check.outputs.should_publish == 'true'
87-
run: npm ci -w ${{ env.PACKAGE_DIR }}
87+
run: npm install --workspace=${{ env.PACKAGE_DIR }}
8888

8989
- name: Build package
9090
if: steps.check.outputs.should_publish == 'true'

0 commit comments

Comments
 (0)