Skip to content

Commit d87b71e

Browse files
committed
ci: Use cargo make build-sdk-ts for TS SDK build in skill tests
1 parent 97de1bb commit d87b71e

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/skills-test.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -147,23 +147,16 @@ jobs:
147147
npm install -g @openai/codex
148148
printenv OPENAI_API_KEY | codex login --with-api-key
149149
150-
- name: Install wasm-rquickjs-cli (needed for TS SDK build)
151-
run: cargo install wasm-rquickjs-cli --git https://github.com/golemcloud/wasm-rquickjs.git --tag v0.1.3
152-
153-
- name: Install cargo-component and wasm target (needed for agent_guest.wasm)
150+
- name: Install TS SDK build prerequisites
154151
run: |
152+
cargo install wasm-rquickjs-cli --git https://github.com/golemcloud/wasm-rquickjs.git --tag v0.1.3
155153
rustup target add wasm32-wasip1
156154
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
157-
cargo binstall --no-confirm cargo-component@0.21.1
155+
cargo binstall --no-confirm cargo-component@0.21.1 cargo-make
156+
npm install -g pnpm@10
158157
159158
- name: Build TS SDK (for GOLEM_PATH local SDK references)
160-
run: |
161-
cd sdks/ts
162-
npm install -g pnpm@10
163-
pnpm install
164-
pnpm run build
165-
cd packages/golem-ts-sdk
166-
pnpm run build-agent-template
159+
run: cargo make build-sdk-ts
167160

168161
- name: Install Harness Dependencies
169162
run: |

0 commit comments

Comments
 (0)