Skip to content

Conversation

@vmoroz
Copy link
Member

@vmoroz vmoroz commented Dec 20, 2025

This PR continues to improve our build and release pipelines:

  • Cherry pick PR [0.80] Release NPM packages in publish pipeline #15483 and [0.80] Remove unnecessary steps in verdaccio-start.yml #15493 where we added the new .ado/scripts/npmPack.js script and fixed the PR validation by using this script for the CLI verification in .ado/templates/verdaccio-start.yml.
    • Added removal of previously published packages before publishing to verdaccio.
  • Added back the PushNpm to .ado/release.yml with the improved steps:
    • it takes the NPM artifacts and the dist-tag created by the publish.yml pipeline as before
    • the new steps use the npmPack,js to check if the NPM packages were already published to npmjs.com, removes all published packages from the local folder, and if any NPM packages left, then releases them to npmjs.com.
    • The EsrpRelease task is skipped if there are no packages to publish. It avoids to have an error that we observed before.

As a test for the new release.yml pipeline I had released the 0.80.6 packages running it form a test branch.

Microsoft Reviewers: Open in CodeFlow

@vmoroz vmoroz requested review from a team as code owners December 20, 2025 01:12
@vmoroz vmoroz enabled auto-merge (squash) December 20, 2025 01:13
@vmoroz vmoroz disabled auto-merge December 20, 2025 01:44
@vmoroz vmoroz merged commit 35ec51e into microsoft:main Dec 20, 2025
30 checks passed
@vmoroz vmoroz deleted the PR/optional_npm_release branch December 20, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants