From 7a2a7d73c78d29b69e078d24522a85e0a270eeb3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 08:53:15 +0000 Subject: [PATCH 1/2] Initial plan From d577a2bb67532ebb7900f2df99563d861f0e9247 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 09:05:45 +0000 Subject: [PATCH 2/2] fix(ci): exclude private packages from lerna publish in cd workflow Agent-Logs-Url: https://github.com/OfficeDev/microsoft-365-agents-toolkit/sessions/43e3701d-90db-4dd5-be46-e6a516eef0e0 Co-authored-by: HuihuiWu-Microsoft <73154171+HuihuiWu-Microsoft@users.noreply.github.com> --- .github/workflows/cd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index da062c119f5..246916ab094 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -471,22 +471,22 @@ jobs: - name: publish alpha release to npm org if: ${{ github.ref == 'refs/heads/dev'}} run: | - npx lerna publish from-package --dist-tag=alpha --yes --allow-branch dev + npx lerna publish from-package --dist-tag=alpha --yes --allow-branch dev --no-private - name: publish preview release to npm org if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.preid == 'preview' }} run: | - npx lerna publish from-package --dist-tag=beta --yes + npx lerna publish from-package --dist-tag=beta --yes --no-private - name: publish rc npm packages to npmjs.org if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.preid == 'rc' }} run: | - npx lerna publish from-package --dist-tag=rc --yes + npx lerna publish from-package --dist-tag=rc --yes --no-private - name: publish stable npm packages to npmjs.org if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.preid == 'stable' }} run: | - npx lerna publish from-package --yes + npx lerna publish from-package --yes --no-private - name: pack server bits if: ${{ contains(steps.version-change.outputs.CHANGED, '@microsoft/teamsfx-server') || (github.event_name == 'workflow_dispatch' && github.event.inputs.vsrelease == 'true' ) }}