You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by ke...@apache.org on 2022/09/06 02:30:05 UTC
[skywalking-eyes] branch npm created (now 47c2247)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a change to branch npm
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git
at 47c2247 Switch to npm ci for reliable builds
This branch includes the following new commits:
new 47c2247 Switch to npm ci for reliable builds
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[skywalking-eyes] 01/01: Switch to npm ci for reliable builds
Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch npm
in repository https://gitbox.apache.org/repos/asf/skywalking-eyes.git
commit 47c2247a37357a7d8a5c31f14383f24c2c6b05ad
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Tue Sep 6 10:29:55 2022 +0800
Switch to npm ci for reliable builds
---
pkg/deps/npm.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/deps/npm.go b/pkg/deps/npm.go
index 129534e..2813d1f 100644
--- a/pkg/deps/npm.go
+++ b/pkg/deps/npm.go
@@ -129,7 +129,7 @@ func (resolver *NpmResolver) NeedSkipInstallPkgs() bool {
// InstallPkgs runs command 'npm install' to install node packages
func (resolver *NpmResolver) InstallPkgs() {
- cmd := exec.Command("npm", "install")
+ cmd := exec.Command("npm", "ci")
logger.Log.Println(fmt.Sprintf("Run command: %v, please wait", cmd.String()))
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr