From 25b39ea3dc01b03c0aeabeb6de5b93b4e63a95db Mon Sep 17 00:00:00 2001 From: kirrg001 Date: Fri, 4 Oct 2024 13:19:53 +0200 Subject: [PATCH] Revert "ci: forced dev installation gcstats and event-loop-stats" This reverts commit a2fcb0ffe17a468ace5150f97a3839b507b2348f. --- .tekton/tasks/install-npm-dependencies.yaml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.tekton/tasks/install-npm-dependencies.yaml b/.tekton/tasks/install-npm-dependencies.yaml index 097d57b83c..0bc735debc 100644 --- a/.tekton/tasks/install-npm-dependencies.yaml +++ b/.tekton/tasks/install-npm-dependencies.yaml @@ -44,9 +44,6 @@ spec: echo "Skipping npm cache..." echo "Installing npm dependencies..." npm install --loglevel verbose - - # Force non optional dependency installation - npm install gcstats.js event-loop-stats -w packages/shared-metrics --save-dev else echo "Restoring node_modules cache..." curl -fsSL https://clis.cloud.ibm.com/install/linux | sh @@ -99,9 +96,6 @@ spec: if [ "$npmInstall" == true ]; then npm install --loglevel verbose - # Force non optional dependency installation - npm install gcstats.js event-loop-stats -w packages/shared-metrics --save-dev - rm -rf node-modules.tar.zst rm -rf node-modules.tar fi @@ -147,17 +141,12 @@ spec: if [ "$npmInstall" == true ]; then npm install --loglevel verbose - - # Force non optional dependency installation - npm install gcstats.js event-loop-stats -w packages/shared-metrics --save-dev fi echo "Restored node_modules cache..." else echo "Download from main was not successful. Installing node_modules..." npm install --loglevel verbose - # Force non optional dependency installation - npm install gcstats.js event-loop-stats -w packages/shared-metrics --save-dev fi fi fi