Skip to content

Commit 39ebd78

Browse files
committed
fix(studio-bridge): invoke studio-bridge CLI directly in CI workflow
Install studio-bridge globally after build (matching nevermore-cli pattern) instead of using raw node dist path invocations.
1 parent 508fe60 commit 39ebd78

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/studio-linux-e2e.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,25 @@ jobs:
5151
- name: Build all tools
5252
run: pnpm -r --filter './tools/**' run build
5353

54+
- name: Install studio-bridge CLI
55+
run: npm install --ignore-scripts -g .
56+
working-directory: tools/studio-bridge
57+
5458
- name: Setup Linux environment
55-
run: node tools/studio-bridge/dist/src/cli/cli.js linux setup --install-deps
59+
run: studio-bridge linux setup --install-deps
5660

5761
- name: Verify environment health (pre-auth)
58-
run: node tools/studio-bridge/dist/src/cli/cli.js linux status
62+
run: studio-bridge linux status
5963

6064
- name: Inject authentication
6165
if: ${{ env.ROBLOSECURITY != '' }}
62-
run: node tools/studio-bridge/dist/src/cli/cli.js linux auth
66+
run: studio-bridge linux auth
6367
env:
6468
ROBLOSECURITY: ${{ secrets.ROBLOSECURITY }}
6569

6670
- name: Execute script through Studio bridge
6771
if: ${{ env.ROBLOSECURITY != '' }}
68-
run: node tools/studio-bridge/dist/src/cli/cli.js process run --verbose --timeout 1200000 'print("E2E test passed!")'
72+
run: studio-bridge process run --verbose --timeout 1200000 'print("E2E test passed!")'
6973
timeout-minutes: 25
7074
env:
7175
ROBLOSECURITY: ${{ secrets.ROBLOSECURITY }}

0 commit comments

Comments
 (0)