build: use shared ESRP npm release template - #154
build: use shared ESRP npm release template#154Tsuyoshi Ushio (TsuyoshiUshio) wants to merge 1 commit into
Conversation
0d1c90d to
52532da
Compare
PR Review — build: use shared ESRP npm release templateThanks Tsuyoshi Ushio (@TsuyoshiUshio). This is the extensions-repo counterpart of the library change (#466 in Looks good
Questions / suggestions
Nothing blocking once the Node version question is resolved. |
1 similar comment
PR Review — build: use shared ESRP npm release templateThanks Tsuyoshi Ushio (@TsuyoshiUshio). This is the extensions-repo counterpart of the library change (#466 in Looks good
Questions / suggestions
Nothing blocking once the Node version question is resolved. |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3f7032a9-8784-43e6-967b-715ba1bf8934
|
Swapnil Nagar (@swapnil-nagar) Thanks for the review. I checked both points and updated the PR accordingly.
The dry-run publish still explicitly targets the public npm registry and uses --dry-run --ignore-scripts; ESRP remains limited to the non-dry-run path. |
52532da to
bfc0c48
Compare
Summary
/ci/release-npm-package.yml@engtemplate withpublishMethod: esrpnpm publish --dry-run --ignore-scriptswithout credentials or publishing.tgzThis follows Azure/azure-functions-skills#213 and its current post-merge pipeline definitions. The existing code-mirror pipeline is unchanged.
Multiple-package handling
The official build emits separate artifacts for base, blob, and Service Bus. The shared ESRP helper rejects folders containing anything other than exactly one
.tgz, soPackageArtifactselects one package per release invocation. The connectors package remains excluded because it is not in the official build matrix.NpmPublishTagcan be set tolatestfor stable releases orpreviewfor pre-releases while consuming the selected official-build artifact.Validation
engYAML files parsed successfullynpm publish --dry-run --ignore-scriptssucceeded againsthttps://registry.npmjs.orgfor all three generated package artifactsgit diff --checkpassedOperational setup required
azure-functions-nodejs-extensions-releasewithEsrpOwners,EsrpApprovers, andEsrpManualApprovers. Owners and ESRP approvers must be distinct individualalias@microsoft.comaccounts.eng/ci/release.yml, then authorize the variable group, the internalengineeringrepository atrefs/tags/release,azfunc-internal-esrp-prod, and theazure-functions-nodejs-extensions.officialpipeline resource.microsoft1esandmicrosoft-oss-releasesread/write collaborator access to the base, blob, and Service Bus npm packages.