Skip to content

Switch NPM publishing to consume from CUDA 13 pipeline#28773

Merged
kpkbandi merged 4 commits into
mainfrom
dev/kusbandi/2026/06/03-cuda13-npm-packaging
Jun 4, 2026
Merged

Switch NPM publishing to consume from CUDA 13 pipeline#28773
kpkbandi merged 4 commits into
mainfrom
dev/kusbandi/2026/06/03-cuda13-npm-packaging

Conversation

@kpkbandi

@kpkbandi kpkbandi commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Description

This PR

  • Switches NPM publishing to consume artifacts from CUDA 13 packaging pipeline instead of zip-nuget
  • Adds macOS, Windows Node.js (x64/arm64), and NPM assembly stages to the CUDA 13 pipeline so all required artifacts are produced in a single pipeline run

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Azure Pipelines flow for publishing ONNX Runtime Node.js (NPM) packages so that the publishing pipeline consumes the NPM_packages artifact produced by the CUDA 13 packaging pipeline, and factors the Node.js NPM packaging stage into a reusable template.

Changes:

  • Replaces the inline Nodejs_Packaging stage in c-api-cpu.yml with a shared stage template.
  • Adds a reusable nodejs-npm-packaging-stage.yml stage template that assembles and produces NPM_packages.
  • Switches npm-packaging-pipeline.yml to trigger from and download artifacts from the CUDA 13 packaging pipeline, and updates the CUDA 13 packaging pipeline to include the required macOS + Windows Node.js stages.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml Replaces inline Node.js NPM packaging stage with a shared template reference.
tools/ci_build/github/azure-pipelines/stages/nodejs-npm-packaging-stage.yml Introduces the shared stage template that downloads platform artifacts and packs onnxruntime-*.tgz NPM tarballs.
tools/ci_build/github/azure-pipelines/npm-packaging-pipeline.yml Changes the upstream pipeline resource to CUDA 13 and updates download/display text accordingly.
tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines-cuda13.yml Adds macOS CPU packaging stage and Windows Node.js packaging stages, then runs the shared Node.js NPM packaging stage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/ci_build/github/azure-pipelines/stages/nodejs-npm-packaging-stage.yml Outdated
@kpkbandi
kpkbandi force-pushed the dev/kusbandi/2026/06/03-cuda13-npm-packaging branch from 9066f82 to 6ff7ea1 Compare June 3, 2026 20:14
@kpkbandi
kpkbandi merged commit d949c34 into main Jun 4, 2026
154 checks passed
@kpkbandi
kpkbandi deleted the dev/kusbandi/2026/06/03-cuda13-npm-packaging branch June 4, 2026 18:12
sanaa-hamel-microsoft added a commit that referenced this pull request Jun 5, 2026
This cherry-picks the following commits for the release:

| Commit ID | PR Number | Commit Title |
|-----------|-----------|-------------|
| d949c34 | #28773 | Switch NPM publishing to consume from CUDA 13
pipeline |

Co-authored-by: kpkbandi <kusumapadmakavyabandi@gmail.com>
Co-authored-by: Kusuma Padma Kavya Bandi <kusbandi@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants