Skip to content

Commit 046a39c

Browse files
fix: build local SDK workspaces before example CI builds
- react-sdk-demo package-lock uses file: references to local SDKs - Add build steps for sdks/urbackend-sdk and sdks/urbackend-react
1 parent 74d2f40 commit 046a39c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/examples.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
cache-dependency-path: examples/react-sdk-demo/package-lock.json
3535
- run: npm install
3636
- run: npm run build
37+
- run: |
38+
cd ../..
39+
npm run build --workspace=sdks/urbackend-sdk --if-present
40+
npm run build --workspace=sdks/urbackend-react --if-present
3741
3842
sdk-kanban-client:
3943
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)