Skip to content

Commit 5dacabc

Browse files
authored
Only publish packages inside ./packages (#603)
Signed-off-by: Nik Nasr <[email protected]>
1 parent 0bdec8c commit 5dacabc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
registry-url: "https://registry.npmjs.org"
1818
- run: npm ci
1919
- run: npm run build
20-
- run: npm publish --workspaces true --tag latest --access public --include-workspace-root false
20+
- run: npm publish --workspaces true --workspace=./packages --tag latest --access public --include-workspace-root false
2121
env:
2222
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- run: npm ci
2727
- run: npm run build
2828
- run: npm run verify
29-
- run: npm pack --workspaces true --include-workspace-root false
29+
- run: npm pack --workspaces true --workspace=./packages --include-workspace-root false
3030
- run: find -type f -name "restatedev-restate-sdk-[0-9.]*\.tgz" | xargs -I {} mv {} restatedev-restate-sdk.tgz
3131
- run: find -type f -name "restatedev-restate-sdk-clients-[0-9.]*\.tgz" | xargs -I {} mv {} restatedev-restate-sdk-clients.tgz
3232
- run: find -type f -name "restatedev-restate-sdk-core-[0-9.]*\.tgz" | xargs -I {} mv {} restatedev-restate-sdk-core.tgz
@@ -71,8 +71,9 @@ jobs:
7171
set "@restatedev/restate-sdk-cloudflare-workers"
7272
set "@restatedev/restate-sdk-clients"
7373
set "@restatedev/restate-sdk-testcontainers"
74+
set "@restatedev/restate-sdk-zod"
7475
npm --workspaces update
7576
# We use dist-tag dev for the snapshot releases, see https://docs.npmjs.com/cli/v9/commands/npm-dist-tag for more info
7677
# A snapshot MUST not be published with latest tag (omitting --tag defaults to latest) to avoid users to install snapshot releases
7778
# when using npm install
78-
npm publish --workspaces true --tag dev --access public --include-workspace-root false
79+
npm publish --workspaces true --workspace=./packages --tag dev --access public --include-workspace-root false

0 commit comments

Comments
 (0)