Skip to content

Commit

Permalink
run docker for node16 as explained in npm/cli#4451
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Nov 4, 2022
1 parent 9ed8afc commit 1bc67b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .ci/scripts/run-test-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ fi
# shellcheck disable=SC2086
docker run \
$DOCKER_RUN_OPTIONS \
--user node \
-v ~/.npmrc:/home/node/.npmrc \
-v "$(pwd):/synthetics-recorder" \
-e NPM_COMMAND=${1:-'ci'} \
$DOCKER_IMAGE \
Expand Down
9 changes: 0 additions & 9 deletions .ci/scripts/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,8 @@ Xvfb ${DISPLAY} -screen 0 1024x768x16 &

set -x

# For debugging purposes
whoami
pwd
echo $HOME
ls -ltra $HOME

# If NPM_COMMAND then run it.
if [ -n "${NPM_COMMAND}" ] ; then
# for some reason this folder got permission denied when
# running on the CI workers Installation error: EACCES: permission denied
mkdir -p $HOME/.npm || true
npm ${NPM_COMMAND}
fi
NPM_CONFIG_LOGLEVEL=verbose npm run test

0 comments on commit 1bc67b6

Please sign in to comment.