Skip to content

Commit df08054

Browse files
fix: install and build agent-world-sdk in CI workflows (#82)
CI `npm ci` at root doesn't install SDK dependencies, causing `jose` module-not-found during `npm run release`. Adds `npm --prefix packages/agent-world-sdk install` and build steps to both `test.yml` and `release.yml`. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
1 parent bf6a69c commit df08054

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

.changeset/sdk-ci-install.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@resciencelab/dap": patch
3+
---
4+
5+
fix: install and build agent-world-sdk in CI workflows

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
registry-url: "https://registry.npmjs.org"
2525

2626
- run: npm ci
27+
- run: npm --prefix packages/agent-world-sdk install
2728
- run: npm run build
29+
- run: npm --prefix packages/agent-world-sdk run build
2830
- run: node --test test/*.test.mjs
2931

3032
# Creates a "Version Packages" PR when changesets are pending,

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
node-version: ${{ matrix.node-version }}
2222

2323
- run: npm ci
24+
- run: npm --prefix packages/agent-world-sdk install
2425
- run: npm run build
26+
- run: npm --prefix packages/agent-world-sdk run build
2527
- run: node --test test/*.test.mjs
2628

2729

0 commit comments

Comments
 (0)