Skip to content

Commit cfd8fe9

Browse files
committed
ci(cli): pack dependency checkouts correctly
Run npm pack from checked-out AgentDispatch dependency directories so CI can install current source tarballs.
1 parent 71746dc commit cfd8fe9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
run: |
2626
npm --prefix .agentdispatch-deps/core install
2727
npm --prefix .agentdispatch-deps/core run build
28-
npm --prefix .agentdispatch-deps/core pack --pack-destination "$PWD/.agentdispatch-deps"
28+
(cd .agentdispatch-deps/core && npm pack --pack-destination "$GITHUB_WORKSPACE/.agentdispatch-deps")
2929
- name: Pack current AWS adapter
3030
run: |
3131
npm --prefix .agentdispatch-deps/adapter-aws-agentcore install
3232
npm --prefix .agentdispatch-deps/adapter-aws-agentcore install --no-save "$PWD"/.agentdispatch-deps/agent-dispatch-core-*.tgz
3333
npm --prefix .agentdispatch-deps/adapter-aws-agentcore run build
34-
npm --prefix .agentdispatch-deps/adapter-aws-agentcore pack --pack-destination "$PWD/.agentdispatch-deps"
34+
(cd .agentdispatch-deps/adapter-aws-agentcore && npm pack --pack-destination "$GITHUB_WORKSPACE/.agentdispatch-deps")
3535
- run: npm install
3636
- run: npm install --no-save .agentdispatch-deps/agent-dispatch-core-*.tgz .agentdispatch-deps/agent-dispatch-adapter-aws-agentcore-*.tgz
3737
- run: npm run typecheck

0 commit comments

Comments
 (0)