Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .buildkite/commands/install-node-dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -eu
#!/bin/bash

set -eu

PLATFORM=$(uname -s)
ARCHITECTURE=$(uname -m)
Expand Down Expand Up @@ -42,12 +44,13 @@ npm ci \
--maxsockets "$MAX_SOCKETS" \
"$@"

cd cli; npm ci \
cd cli
npm ci \
--prefer-offline \
--no-audit \
--no-progress \
--maxsockets "$MAX_SOCKETS"; \
cd -
--maxsockets "$MAX_SOCKETS"
cd -

echo "--- :npm: Save cache if necessary"
# Notice that we don't cache the local node_modules.
Expand Down