The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Allow private CLI staging before SDK publication (#28651)
Félix Malfait6a1e7de9b742
diff --git a/.github/workflows/publish-npm-packages.yaml b/.github/workflows/publish-npm-packages.yamlindex 7771fc5169a..1d0f827bb83 100644--- a/.github/workflows/publish-npm-packages.yaml+++ b/.github/workflows/publish-npm-packages.yaml@@ -96,6 +96,9 @@ jobs:- name: Stage validation packages without publishingif: env.STAGE_ONLY == 'true'run: |+ # This test stages the SDK before it is publicly available to the CLI's release-readiness check.+ jq 'del(.scripts.prepublish)' packages/twenty-cli/package.json > "$RUNNER_TEMP/twenty-cli-staging.json"+ mv "$RUNNER_TEMP/twenty-cli-staging.json" packages/twenty-cli/package.jsonfor package in $PACKAGES; doyarn workspace "$package" npm publish --staged --provenance --tag "$DIST_TAG" --access publicecho "Staged $package@$VERSION for OIDC validation only. Do not approve; reject after verification." >> "$GITHUB_STEP_SUMMARY"