fix: replace package installation with files copying#36
Merged
alexslavr merged 3 commits intoDevExpress:mainfrom Apr 16, 2026
Merged
fix: replace package installation with files copying#36alexslavr merged 3 commits intoDevExpress:mainfrom
alexslavr merged 3 commits intoDevExpress:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the install-internal-package composite GitHub Action to avoid npm i for internal packages by downloading tarballs and replacing the already-installed package contents directly from the .tgz.
Changes:
- Add a Node script that removes the current installed package directory and extracts a packed
.tgzinto its place. - Update the action to call the new replacement script instead of running
npm i <pkg>@<tgz>. - Tighten the
findcommand to only search the current directory for the downloaded tarball.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| install-internal-package/replace-package.js | New script to delete the existing package directory and extract the internal tarball into place. |
| install-internal-package/action.yml | Switch install steps from npm i ...@<tgz> to node replace-package.js ... <tgz> and constrain tarball discovery to -maxdepth 1. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
alexslavr
approved these changes
Apr 16, 2026
This was referenced Apr 16, 2026
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.
Note
Practical Value
This is required to avoid using unsafe
npm iBefore
After