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.

Gate create-spree-app release on the CLI release

Damian Legawiec3a8b5dd97b9c
diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml
index c24bdd1594..613e85d90f 100644
--- a/.github/workflows/packages.yml
+++ b/.github/workflows/packages.yml
@@ -436,7 +436,12 @@ jobs:
release-create-spree-app:
name: "create-spree-app - Release"
- needs: check
+ # Gated on release-cli: the dashboard scaffold phase delegates to the
+ # project-local `spree add dashboard`, so a create-spree-app that offers
+ # the dashboard must not publish before the CLI implementing that command
+ # (with the embedded starter) is on npm. Completes the release chain:
+ # admin-sdk → dashboard → cli → create-spree-app.
+ needs: [check, release-cli]
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
permissions: