Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Complete the npm release ordering chain with admin-sdk

Damian Legawiec04c705cf738d
diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml
index 99b9509ac8..c24bdd1594 100644
--- a/.github/workflows/packages.yml
+++ b/.github/workflows/packages.yml
@@ -373,7 +373,12 @@ jobs:
# matching @spree/admin-sdk.
release-dashboard:
name: "Dashboard packages - Release"
- needs: check
+ # Gated on release-admin-sdk: the dashboard packages' workspace:^ ranges
+ # are rewritten to concrete ^x.y.z of @spree/admin-sdk while packing — a
+ # same-push admin-sdk version bump must land on npm first, or installs of
+ # the just-published dashboard packages fail until it does. (release-cli
+ # waits on this job, completing the admin-sdk → dashboard → cli chain.)
+ needs: [check, release-admin-sdk]
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
permissions: