Skip to content

Commit

Permalink
Merge pull request #2568 from headlamp-k8s/pin-npm-by-hash
Browse files Browse the repository at this point in the history
headlamp-plugin: Use npm ci to pin deps
  • Loading branch information
joaquimrocha authored Dec 17, 2024
2 parents eb43d49 + 353e52e commit b9675b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/headlamp-plugin/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o xtrace
for i in * ; do
if [ -d "$i" ]; then
cd "$i"
npm install
npm ci
cd ..
fi
done
2 changes: 1 addition & 1 deletion plugins/headlamp-plugin/test-plugins-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for i in * ; do
if [ -d "$i" ]; then
cd "$i"
# Test changes to headlamp-plugin in the PR/repo that released version might not have.
npm install `ls -t ../../headlamp-plugin/kinvolk-headlamp-plugin-*.tgz | head -1`
npm ci `ls -t ../../headlamp-plugin/kinvolk-headlamp-plugin-*.tgz | head -1`
npm run lint
npm run format
npm run build
Expand Down

0 comments on commit b9675b7

Please sign in to comment.