Skip to content

Commit ee5cf69

Browse files
committed
run it back
1 parent eb1b6db commit ee5cf69

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/version-and-publish.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
- name: Check for pending releases
3131
run: |
3232
echo "Checking for pending changesets..."
33-
git fetch origin moeO/serverPatch
34-
CHANGES_STATUS=$(pnpm changeset status --verbose)
33+
git fetch origin main moeO/serverPatch
34+
CHANGES_STATUS=$(pnpm changeset status --verbose --since=origin/main)
3535
echo "$CHANGES_STATUS"
3636
if echo "$CHANGES_STATUS" | grep -qi "packages to be bumped"; then
3737
echo "Changesets found, continuing"
@@ -282,14 +282,14 @@ jobs:
282282

283283
- name: Publish to NPM (dry run)
284284
run: |
285-
pnpm publish -r --dry-run --no-git-checks --report-summary
285+
pnpm --filter @turnkey/sdk-server publish --dry-run --no-git-checks --report-summary
286286
echo "npm publish dry run summary:"
287287
cat publish-summary.json || echo "No NPM dry run summary generated"
288288
289289
- name: Publish packages to NPM
290290
run: |
291-
echo "Publishing packages to NPM..."
292-
pnpm publish -r --no-git-checks --report-summary || {
291+
echo "Publishing @turnkey/sdk-server to NPM..."
292+
pnpm --filter @turnkey/sdk-server publish --no-git-checks --report-summary || {
293293
echo "❌ Publish failed. Check logs above.";
294294
exit 1;
295295
}
@@ -304,16 +304,16 @@ jobs:
304304

305305
- name: Publish to GitHub Packages (dry run)
306306
run: |
307-
pnpm publish -r --dry-run --no-git-checks --report-summary
307+
pnpm --filter @turnkey/sdk-server publish --dry-run --no-git-checks --report-summary
308308
echo "GitHub publish dry run summary:"
309309
cat publish-summary.json || echo "No GitHub publish dry run summary generated"
310310
env:
311311
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
312312

313313
- name: Publish to GitHub Packages
314314
run: |
315-
echo "Publishing packages to GitHub Packages..."
316-
pnpm publish -r --no-git-checks --report-summary || echo "GitHub Packages publish failed"
315+
echo "Publishing @turnkey/sdk-server to GitHub Packages..."
316+
pnpm --filter @turnkey/sdk-server publish --no-git-checks --report-summary || echo "GitHub Packages publish failed"
317317
echo "GitHub publish summary:"
318318
cat publish-summary.json || echo "No GitHub publish summary generated"
319319
rm .npmrc

0 commit comments

Comments
 (0)