Switch NPM publishing to consume from CUDA 13 pipeline#28773
Merged
Conversation
Contributor
There was a problem hiding this comment.
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_Packagingstage inc-api-cpu.ymlwith a shared stage template. - Adds a reusable
nodejs-npm-packaging-stage.ymlstage template that assembles and producesNPM_packages. - Switches
npm-packaging-pipeline.ymlto 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.
kpkbandi
force-pushed
the
dev/kusbandi/2026/06/03-cuda13-npm-packaging
branch
from
June 3, 2026 20:14
9066f82 to
6ff7ea1
Compare
sanaa-hamel-microsoft
requested changes
Jun 3, 2026
sanaa-hamel-microsoft
approved these changes
Jun 3, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR