Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
fix: Publish docs independently of release smoke (#6120)
Oleg Isonen58eaf8c7c984
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 71d9ef216b..1bb4a41a65 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -61,6 +61,9 @@ jobs:publish:runs-on: ubuntu-latest+ outputs:+ registry_baseline: ${{ steps.registry-baseline.outputs.value }}+ version: ${{ steps.version.outputs.value }}permissions:contents: writeenvironment:@@ -119,15 +122,32 @@ jobs:echo "Exact registry artifact webstudio@$VERSION was not observable with integrity metadata." >&2exit 1- - name: Gate exact published CLI against baseline+ release-smoke:+ needs: publish+ timeout-minutes: 20+ runs-on: ubuntu-24.04+ permissions:+ contents: read+ environment:+ name: development+ steps:+ - uses: actions/checkout@v4+ with:+ ref: ${{ github.ref }} # tag name+ - uses: ./.github/actions/submodules-checkout+ with:+ submodules-ssh-key: ${{ secrets.PRIVATE_GITHUB_DEPLOY_TOKEN }}+ - uses: ./.github/actions/ci-setup++ - name: Verify exact published CLI against baselineid: registry-smokeenv:DATABASE_URL: postgres://AUTH_SECRET: testWEBSTUDIO_RELEASE_SMOKE_TOKEN_BUDGET: 6000- WEBSTUDIO_RELEASE_SMOKE_CANDIDATE: webstudio@${{ steps.version.outputs.value }}- WEBSTUDIO_RELEASE_SMOKE_BASELINE: webstudio@${{ steps.registry-baseline.outputs.value }}- WEBSTUDIO_RELEASE_SMOKE_EXPECT_REGISTRY_VERSION: ${{ steps.version.outputs.value }}+ WEBSTUDIO_RELEASE_SMOKE_CANDIDATE: webstudio@${{ needs.publish.outputs.version }}+ WEBSTUDIO_RELEASE_SMOKE_BASELINE: webstudio@${{ needs.publish.outputs.registry_baseline }}+ WEBSTUDIO_RELEASE_SMOKE_EXPECT_REGISTRY_VERSION: ${{ needs.publish.outputs.version }}WEBSTUDIO_RELEASE_SMOKE_REPORT: ${{ github.workspace }}/artifacts/cli-release-smoke.jsonrun: pnpm --filter webstudio test:release-smoke:registry@@ -135,7 +155,7 @@ jobs:if: ${{ always() && (steps.registry-smoke.outcome == 'success' || steps.registry-smoke.outcome == 'failure') }}uses: actions/upload-artifact@v4with:- name: cli-release-smoke-${{ steps.version.outputs.value }}+ name: cli-release-smoke-${{ needs.publish.outputs.version }}path: artifacts/cli-release-smoke.jsonif-no-files-found: errordiff --git a/packages/cli/scripts/release-smoke.ts b/packages/cli/scripts/release-smoke.tsindex 3434b7cfae..502fbf1359 100644--- a/packages/cli/scripts/release-smoke.ts+++ b/packages/cli/scripts/release-smoke.ts@@ -64,10 +64,10 @@ const createdPageInputs = [] as const;const additionalPageCount = 1 + createdPageInputs.length;const agentSmokeClients = [- { connect: "claude", name: "claude-code" },- { connect: "codex", name: "codex" },- { connect: "cursor", name: "cursor" },- { connect: "vscode", name: "vscode" },+ { connect: "claude", name: "claude-code", print: false },+ { connect: "codex", name: "codex", print: true },+ { connect: "cursor", name: "cursor", print: false },+ { connect: "vscode", name: "vscode", print: false },] as const;const configuredTokenBudget = Number(@@ -1337,12 +1337,20 @@ const run = async () => {"Verify the share link has API access, then run webstudio sync again.",["sync"]);- for (const { connect: client } of agentSmokeClients) {- await runCliStep(+ for (const { connect: client, print } of agentSmokeClients) {+ const connected = await runCliStep(`connect ${client}`,`Run webstudio connect ${client} again and reload ${client}.`,- ["connect", client]+ ["connect", client, ...(print ? ["--print"] : [])]);+ if (+ client === "codex" &&+ connected.stdout.includes("codex mcp add webstudio --") === false+ ) {+ throw new Error(+ "Codex connection smoke did not print its registration command."+ );+ }}const builderState = state.createBuilderStateFromBuildData({