Skip to content

Commit

Permalink
Revert "ci: forced dev installation gcstats and event-loop-stats"
Browse files Browse the repository at this point in the history
This reverts commit a2fcb0f.
  • Loading branch information
kirrg001 committed Oct 4, 2024
1 parent 0bce3d7 commit 25b39ea
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .tekton/tasks/install-npm-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 25b39ea

Please sign in to comment.